While this is likely specifically a WooCommerce issue, it still applies here. I am using the AJAX add-to-cart feature, so, upon clicking "add to cart," items should be added to the cart (this part works) as well as have a message appear that confirms the product was added to the cart (this part doesn't), all while not reloading the page.

The weird thing is that the "X was added to your cart" only ever appears when I am in the customizer, and not while viewing the page normally. Even upon inspecting the page I can see that the container for the message is there, but contains no content, so it's not simply being hidden. Has anyone seen this before or are there any troubleshooting steps I should be taking to figure out why it only behaves properly with the customizer open?

  • How about first you check this is a theme or plugin issue: 1) Switch to a default theme. 2) Disable all plugins other than WooCommerce. – Sally CJ Oct 4 '19 at 20:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.