Knowledge Base

Search

  • Video block
  • Video Tutorials

  • Watch our easy-to-follow video tutorials for quick tips on designing and managing your store.
  • View Video Tutorials

Persistent Shopping Cart Scenarios

A persistent shopping cart is controlled by a combination of factors, which can include whether or not the customer wants to be “remembered,” the lifetime of the cookies, and the point at which the persistent cookie is cleared. During operation, the following cookies are used:

Short-term CookieSession Cookie: A short-term session cookie exists for the duration of a single visit to your site, and expires when the customer leaves, or after a set period of time.
Long-term CookiePersistent Cookie: A long-term persistent cookie continues in existence after the end of the session, and saves a record of the customers’ shopping contents for future reference.

“Remember Me”The “Remember Me” checkbox on the Login page lets customers choose to save the contents of their shopping carts.
Remember Me Settings Yes: If “Remember Me” is selected, a persistent cookie is created, and the contents of the shopping cart is saved for the customer’s next logged-in session.
Remember Me Settings No: If “Remember Me” is not selected or cleared, a persistent cookie is not created, and the shopping cart information is not saved for the next customer’s logged-in session.
Continue Persistence After LogoutWhen “Clear Persistence on Log Out” is set to “No,” the following scenarios apply:
When the customer logs in, the persistent cookie is invoked, in addition to the session cookie which is already in use. Continuing Persistence
When the customer logs out, the session cookie is deleted, but the persistent cookie remains in effect.  The next time the customer logs in, the cart items will be restored, or added to any new items which have been placed in the cart. Continuing Persistence
If the customer does not log out, but the session cookie expires, the persistent cookie remains in effect. Continuing Persistence
Clear Persistence on Logout When “Clear Persistence on Log Out” is set to “Yes,” the following scenarios apply:
Clearing Persistence When the customer logs in, the persistent cookie is invoked, in addition to the session cookie which is already in use.
Clearing Persistence When the customer logs out, both cookies are deleted.
Clearing Persistence If the customer does not log out, but the session cookie expires, the persistent cookie remains in effect.

See also:

Setting Up a Persistent Shopping Cart

Cookie Law Compliance with Magento Go