In this blog, we will explain to you how to enable persistent cart in Magento 2. Here are some steps which help you to enable the cart in Magento 2:
- Persistent Lifetime(seconds)
- Enable “remember me”
- “Remember me” default value
- Clear persistent on log out
- Persist shopping cart
Few people would like to sustain the products in the shopping cart after the client login. So here we will study about configuration persistent cart in Magento 2.
- In admin page navigate to many store->configuration->customer->persistent shopping cart
- In the option “enable persistence”, choose “yes”.
How to enable Configuration persistent cart in Magento 2?
Persistent Lifetime (second)
It is the time that you desire the persistent cookie to end. The default value is 31,536,000 seconds is equal to one year, and it permits maximum time.
Enable “remember me”
This choice is used to show the “remember me” check box on the login page of your store, thus customers able to choose to save their shopping cart information.
“Remember me” Default value
You can choose “yes” if you desire to set the Default option “remember me” for the customer when he logs in to your store.
Clear persistent on log out
This selection is used to clear the shopping cart after the customer’s login. Pick no to keep the product in the shopping cart. Hence, the shopping cart still has the product even the customer can log out and change account.
Persistent Shopping cart in Magento 2
You can choose “yes” if you require the persistent cookie still conserved if the session cookie expires, if a visitor consumer later login or make a new account, the shopping cart is restored. If you choose “No” it will make your shopping cart is not preserved for visitors after the cookie expired.
The above steps show you how to enable a persistent cart in Magento 2.
Click here and develop your own online store built with Magento 2 platform.