complete shopping cart functionality (index and shopping cart pages with synched data)