Variation Add to Cart button reloads entire page.
-
I’m using a css customized product_page shortcode inserted into a post, because I need to show it in the index.php page (not setted as store and with a cart widget). Works normally except it’s not loading dynamically; all the index page reloads and a suffix like “?add-to-cart=variation&product_id=…” is appended in the index page url.
I want to do something like this: https://www.youtube.com/watch?v=NFmpDhinuCI.
I know that’s using the WooCommerce AJAX add to cart functionality, but I do not know how to make it works.
Does anybody could help me?
(This product is a variation type.)
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Variation Add to Cart button reloads entire page.’ is closed to new replies.