Hi Community,
I am using Magento 1.14.1 and I am getting the error like "Your shopping cart is empty" after clicking the place order button in the checkout and order is placed successfully.
could you please help me to how to resolve this issue and why this is happening.
Thanks
Mahesh D.
Hello @mahesh_dasari1 ,
Please try same process again in a private window, if it works fine in private window then the problem in due to cookies.
Actually by default the magento 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.
I have fixed this issue by increasing the cookie lifetime to 86400 in Sytem -> Configuration -> Web -> Session and Cookie Management
Hope this will works for you. If you still face any issue please let me know.
If it helps you, please give us kudos and accept it as solution.
Regards.
Hi Pandey,
Thank you for your response but in my system, I have set the cookie values to 86400. I have tested in private windows also, i am getting the same error.
thanks
Mahesh D.
Hello @mahesh_dasari1
Please try by setting the following config setting
System > Configuration > Web > Session Cookie Management and enter domainname.com in "Cookie Domain" & "Cookie path" /
Please enter your domain name instead of domainname.com
Hope this will work if still you face same issue, please let me know.
Regards
Hi Sarvagya,
In my application, those fields are empty.
Best Regards
Mahesh D.
In that case if you have empty fields, you can enter these values in Session and Cookie Management fields.
Cookie Lifetime: 86400
Cookie Path: /
Cookie Domain: .domainname.com (Change with your website URL)
Use HTTP Only: Yes
Cookie Restriction Mode: No
I hope it will work for you.
Thanks
If my answer is useful, please Accept as Solution & give Kudos
Hi Pankaj,
I have updated the fields with details like domain name etc..
but still, the issue persists.
will the billing address and Credit card address cause this type of issue?
Regards
Mahesh D.