Ajax add to cart not working
-
Hi,
Using the ajax add to cart (Add to cart, without going to cart page) does not result in the purchase being reflected in the cart widget or added to the cart.
All plugins are disabled and I’m using the Twenty Fourteen theme.
When not using the ajax method, add to cart works and the purchase stays in the cart all the way to checkout.I’ve traced the first ajax call to eshop_special_action_callback(), through eshop_cart_process() and back to the web page, where I get “Added”. No errors or enotes and $_SESSION is full of stuff to the end.
The second ajax call, to eshop_cart_callback() however, returns nothing. $_SESSION seems to be empty. print_r($_SESSION) from within eshop_cart_callback() yields nothing.
The site is on Dreamhost shared hosting. My session.save_path = “/tmp” and output_buffering = 0.
Any thoughts?
- The topic ‘Ajax add to cart not working’ is closed to new replies.