I am building a Magento 2 store. The Cart is saved for one hour only, it get deleted after one hour of inactivity. Is there any setting on Magento that allow a longer (may be a week or so) cart session time. Or some coding changes are need to archive this?
To update Quote Lifetime, Go to:
Admin > Store > Configuration > Sales > Checkout > Shopping Cart > Quote Lifetime
To Enable Persistent Cart (A persistent shopping cart keeps track of unpurchased items left in the cart, and saves the information for the customer’s next visit.), Go to:
Admin > Store > Configuration > Customers > Persistent Shopping Cart > General Options > Enable Persistence
This 2 setting Enable us to manage cart better and reduce cart abandonment rate.
Admin >> Store >> Configuration >> Customers >> Persistent Shopping Cart >> General Options >> Enable Persistence. - set to yes and time set to 1 day
Quote timeout is also set to 1 day
Do we need to do server level changes as given in the comment session.gc_maxlifetime ?
Everything is enabled for cart but cart is emptied for guest after 1 hr Please help me with this.