+ Start a Discussion
VempallyVempally 

Issue with the Shopping Cart Functionality in e-Commerce project

Hai Everyone...

Iam working on an e-commerce project and facing problem in shopping cart module as follows...

Adding and deleting products into and from the cart is working good...

but  when we close the app and open it again from the the same system the cart becomes empty which should not happen...

the cart should contain the added products in it...

cart is not an sObject...

How to achieve this...?

EnreecoEnreeco
You can user session Cookies to store this info between page loads (see http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_sites_cookie.htm for details) for example storying a serialization in JSON of the current selections, using mostly client-side JS code.
Hope this help!
santosh s 18santosh s 18
Can u please share the code how to implement shooping cart i.e, to implement adding and deletinf files all those
Thanks in Advance