I have a magento 2 website and I am facing an issue where After you add to cart, cart page is showing empty.
It's not happening all the time but most of the customers are facing this issue.
Thanks
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityYou should enable this:
Magento Admin > Stores > Settings / Configuration > General / Web > Default Cookie Settings
rm -rf var/session/*
– Laxman
Jan 13 at 12:07
In my case, this was caused by a Magento module not being enabled.
If you enable Magento_Persistent this issue will be fixed.
rm -rf var/session/*
– Laxman
Jan 13 at 12:09
session.gc_maxlifetime
, although I'm not sure if this matters. – jamil Aug 23 '18 at 16:44