In this blog, we will explain you how to enable persistent cart in Magento 2. Here are some steps which help you to enable persistent 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”.
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 “remember me” check box on the login page of your store, thus customer able to choose to save their shopping cart information.
“Remember me” Default value
You can choose “yes” if you desire to set Default option “remember me” for the customer when he login to your store.
Clear persistent on log out
This selection is used to clear the shopping cart after customer login. Pick no to keep the product in the shopping cart .hence the shopping cart still has the product even the customer can logout and change account.
Persist Shopping cart
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 following steps show you how to enable persistent cart in Magento 2.
Last Update: December 26, 2018