L
L
ligisayan2015-10-08 12:45:32
JavaScript
ligisayan, 2015-10-08 12:45:32

Why is the add to cart ajax button not working?

Hello! There is a store on wordpress + woocommerce in which in the settings there is an item "enable for ajax at the add to cart button in archives" - so when it is activated and the product is placed in the cart, it redirects me to the link /catalog/?add-to-cart=( product id) and at the same time reloads the page every time.. If you uncheck the box, then at least the page does not reload, but if you select a product on the main page, it still redirects to /catalog/?add-to-cart=(product id). How can this be fixed?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
ligisayan, 2015-10-13
@ligisayan

Issue resolved - the button was missing the adding_to_cart class

E
Evgeny Petrov, 2015-10-08
@EvgenZZ

open the console in the browser, look for errors, for http requests **

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question