segunda-feira, junho 04, 2018

magento blank checkout/cart/

Magento shopping cart empty error

This issue come due to the cookie problem, not in browser but in Magento itself.
As per default Magento, default cookie’s lifetime is set to 3600 (1 hour). But if the end users computer time runs ahead of server’s time, then cookies will not get set for magento frontend as well as backend. For example, end user’s computer time is 1 hour forward than server’s time, that means the cookie (holding user’s session id) will expire as soon as user logs in or tries to add an item.
To solve this issue, 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 the admin panel: Sytem -> Configuration -> Web -> Session and Cookie Management Set cookie lifetime to 86400 and save. Functionality will work as expected.
If still you are facing the issue then check if there are two cookies are setting with same name: one for and another for then need to change the cookie domain to in Admin cookie settings, So that 2nd cookie disappeared and it will works as expected.

Remember to disable compiler, that solved for me too

Those above did not solve my problem

Nenhum comentário: