Magento Tutorials

How to Configure Persistent Shopping Cart In Magento 2

Hello Magento Folks,

In this tutorial, I am going to explain How to Configure Persistent Shopping Cart In Magento 2.

How nice it would be when the customer has left items in the shopping cart, comes back after months, and finds the items just as there. A persistent Shopping Cart facilitates the retention of items in the shopping cart. The maximum time period to persist the shopping cart is one year.

With a persistent shopping cart, you can increase sales and decrease shopping cart abandonment. 

Let’s look at the steps to Configure Persistent Shopping Cart In Magento 2.

Steps to Configure Persistent Shopping Cart In Magento 2:

Step 1: Login to Admin Panel and navigate to Stores > Settings > Configuration

Step 2: Expand the Customers tab and select Persistent Shopping Cart.

Step 3: Set Enable Persistence option to Yes in order to enable other options.

Step 4: Settings for Persistent Shopping Cart

  • Persistence Lifetime (seconds) – Enter the time in seconds to allow persistent cookies to continue. The default value is 31536000 seconds which equals one year and it is the maximum length of time allowed.
  • Enable “Remember Me” – Choosing Yes to this option will display a Remember Me checkbox on the login page to allow users to save their shopping cart information.
  • “Remember Me” Default Value – Choosing Yes will keep the Remember Me checkbox already selected.
  • Clear Persistence on Sign Out – Set whether or not the shopping cart is cleared when the user signs out.
  • Persist Shopping Cart – The persistent cookie is reserved even if the session expires. When the user log in back or create a new account, the shopping cart is restored.

Final Words:

Hence, this way you can Configure Persistent Shopping Cart In Magento 2. Alternatively, you can integrate Magento 2 Save Cart Pro Extension to help customers purchase in the future from the saved items in their shopping cart.

Share the tutorial with friends and stay in touch with us for more Magento tutorials.

Happy Reading!

Click to rate this post!
[Total: 4 Average: 5]
Gaurav Jain

Gaurav Jain is Co-Founder and Adobe Certified Expert-Magento Commerce Business Practitioner. Being Computer Engineer?‍? and possessing Extensive Marketing skills he handles all kinds of customer Queries and his Happy? & Helping? Nature makes customer's day Delightful. When he isn’t working, you’ll find Gaurav Reading on Books? or Traveling?. Also, he is Speaker at Magento Meetups.

Recent Posts

Generating Thumbnails with Spatie Media Library in Laravel 11: A Step-by-Step Guide

Generating image thumbnails is a common requirement in web applications, especially when handling media-heavy content.…

5 hours ago

Enhancing Web Application Security with Laravel’s Built-In Features

In today’s digital landscape, web application security is paramount. As a powerful PHP framework, Laravel…

1 day ago

Magento 2 Extensions Digest October 2024 (New Release & Updates)

October was an exciting month for MageComp! From significant updates across our Magento 2 extension…

1 day ago

Improving Error Handling and Transition Management in Remix with useRouteError and useViewTransitionState

In modern web development, seamless navigation and state management are crucial for delivering a smooth…

1 week ago

Magento Open Source 2.4.8-Beta Release Notes

Magento Open Source 2.4.8 beta version released on October  8, 2024. The latest release of…

1 week ago

How to Create Catalog Price Rule in Magento 2 Programmatically?

Hello Magento Friends, Creating catalog price rules programmatically in Magento 2 can be a valuable…

1 week ago