my problem is, when adding products to cart it does not save. The cart will populate, but empty when going to another page. The cart only saves if a user is logged in. kindly fix this issue
This topic has 7 replies, 2 voices, and was last updated 4 years, 7 months ago ago by WAHAB
my problem is, when adding products to cart it does not save. The cart will populate, but empty when going to another page. The cart only saves if a user is logged in. kindly fix this issue
Hello,
It looks like a cache problem. Do you use the cache plugin? Try to disable it and check again.
Regards
I use Wp Rocket plugin to Minify script but i dont use any other plugin if you login my wp-admin panel you fix better than me kindly login to wp-admin panel and fix issue plz
Hello,
Can you try to disable the cache plugin and check if the issue disappears after that at start?
Let us know about the results and provide with WP Dashboard access to your site after that testing.
Regards
I try to disable it but nothing happen
Hello,
1) Your site is hacked https://prnt.sc/uuv168 Contact your hosting provider to clean your WP installation and prevent hacking in the future.
2) I see that you use the additional code to hide prices and add to the cart for the product for the unlogged in users but it does not work if you use the single product builder. So, do you want to hide the prices or not?
3) Product is added to the cart if you change the q-ty https://gyazo.com/f667a90bc7bbd1b70f840104e7cfd30d
If plugin WooCommerce Advanced Quantity plugin is disabled Add to cart works even if you don’t change the q-ty. So, contact plugin author to find out why add to cart does not work without changing the q-ty.
Regards
Ok Thank you
The issue related to '‘products not add to cart when user not logged in’' has been successfully resolved, and the topic is now closed for further responses