Add to cart Ajax only working with wp_debug
-
Hey there.
For some weird reason, the ajax part of my add to cart stopped working. Instead the whole page is getting reloaded every time a product is added.
After messing around with it for some time, I realized that I can make ajax working by enabling wp_debug and having an error shown in the top of the page.
If no error is shown, the ajax part stops working again.
Can someone please help me make sense of this?
Thanks already,
Rasmus.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Add to cart Ajax only working with wp_debug’ is closed to new replies.