Magento 1.9: Cart dropping products when user click on “Add to Cart”
I started having a weird issue from a couple of days. I notice in my Google Analytics visitors were keep dropping from cart page so I added a session recording app and saw some visitors when clicking on add to cart button it redirects them to empty cart page but some users don't have this issues and have their transaction goes through smoothly.
What can be the actual reason? I tried on my computer and it's all good.
This issue is related to cookies. You can check and increase cookies lifetime from here in Magento:
Sytem -> Configuration -> Web -> Session and Cookie Management
The Reason that I found out after doing some research on internet and different forum is that in Magento, by default cookie 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. 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.
Here we have some links might be helpful for you. Link1Link2
I hope it will help you.
-- If my answer is useful, please Accept as Solution & give Kudos