Hello! I`m developing a website on Salesforce.
And I have 4 main blocks pages on one page with lists of products in different categories and Shopping cart page.
I want by click on the custom button Add to cartAdd to cart
(near each item on the product page) put selected items into the list or any other collection, which should be displayed on the Shopping cart page.
I have this problem - every timeeverytime I click on the button my list of items stays empty. I tried different ways, but all I could get is only one item displayed. Somehow, selected items are not passed to the page, though I select them by chosen ID.
I would really appreciate some help, cause I am trying to fix this for 2 days!