Posts

Showing posts from March, 2017

Magento Checkout redirects to “Shopping cart is empty”

This is because of cookies. In Magento, by default cookie’s lifetime is set to 3600 (1 hour). But if the end users computer time runs ahead of server’s time, cookies will not get set for magento frontend as well as backend. To solve this, set cookie’s lifetime to 86400 (1 day) instead of 1 hour and everything will work as expected. You can also set cookie lifetime to 0, so that cookie will only expire when the user’s browser is closed. Go to: Magento backend -> Sytem -> Configuration -> Web -> Session and Cookie Management