Cart Issues
-
Howdy,
We just recently migrated our site to Lightsail, since then we have noticed that when adding products to the cart (we have a pop out using Caddy Cart that shows a glimpse of your cart and what was added) that logged in users get the pop out stating that the cart is empty, but when browsing to another page it updates. Non logged in users seem to be able to add to cart and the pop out shows correctly.
I have been on this for 14 hours straight, in devtools, examining the network tab I can see that the wc-ajax=cc_add_to_cart is fired but the “response” is {“success”:false,”data”:”Invalid nonce”}.
Inspecting the payload all the product info is there.
When browsing to another page wc-ajax=get_cart_fragments is called and then the pop out menu when clicked shows what you had added.
I have tried using documentation of all sorts, AI assistance and Googling, but just can’t seem to figure out the issue.
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.