Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Woocommerce - Cart Empty for Non Logged In Users

I have a problem in my Woocommerce shop. Not logged-in users can't add products in their cart! When they press the "add-to-cart-button", the products is added to the cart. But if they refresh the page or go to the cart, it is empty!

If I am logged-in, it is not happening and everything is working good.

Can someone please help?

like image 328
Jannis M. Avatar asked Nov 18 '25 17:11

Jannis M.


1 Answers

I think the problem is in your server configuration. If you use any caching plugin deactivate it and hard refresh your browser. Then check again if it works or not?

Here is an article Mike Jolley wrote: http://mikejolley.com/2013/12/20/problems-with-cart-sessions-and-woocommerce/

like image 87
Faysal Haque Avatar answered Nov 21 '25 05:11

Faysal Haque