After July 2021, the 2.3.x release line no longer received quality updates or user guide updates. PHP 7.3 reached end of support in December 2021, and Adobe Commerce 2.3.x reached end of support in September 2022. We strongly recommend upgrading to Adobe Commerce 2.4.x to help maintain PCI compliance.

Persistent Cart

This site contains archived merchant documentation for a version of Adobe Commerce and Magento Open Source that has reached end-of-support. The documentation available here is intended for historical reference only and is not maintained. The Adobe Commerce Merchant Documentation for current releases is published on the Adobe Experience League.

A persistent shopping cart keeps track of unpurchased items that are left in the cart and saves the information for the customer’s next visit. Customers who are remembered can have the contents of their shopping carts restored the next time they visit your store.

Using a persistent shopping cart can help reduce the number of abandoned shopping carts and increase sales. It is important to understand that the persistent shopping cart does not expose sensitive account information at any time. While the persistent shopping cart is in use, both registered customers and guest shoppers are required to either log in to an existing account, or create a new account before going through checkout. For guest shoppers, a persistent shopping cart is the only way to retrieve information from a previous session.

To manage the use of cart persistence for your site or within specific store views, you can configure persistent shopping cart settings. For more information about how these settings affect the shopper experience in your storefront, see Persistent Cart Workflow.

When using a persistent cart, we recommend that you set the lifetime of the server session and the session cookie to a long period of time. See Session Lifetime for more information.

To use the persistent shopping cart, the customer’s browser must be set to allow cookies. There are two types of cookies used for shopping cart operations:

  • Session 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.

  • Persistent Cookie – A long-term, persistent cookie continues in existence after the end of the session and saves a record of the customer’s shopping cart contents for future reference.