Answer the question
In order to leave comments, you need to log in
How to add to cart without reloading the page? (WP and Woocommerce)?
In general, the main site has a separate page in the form of a landing page. Where is the "Add to Cart" button. When added to the cart, it redirects to the cart page. And you need to add it to the cart on this landing page without rebooting (the cart is already there).
The "Add to Cart" button is made in such a way that
ajax is enabled. Any suggestions on how to implement it? Can you suggest a plugin? <a href="/?add-to-cart=2651"></a>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question