Does not work with ajax ADD to Cart button
-
I’m using woocommerce_params.wc_ajax_url.toString().replace(‘%%endpoint%%’, ‘add_to_cart’) via ajax to add products via custom shopping page instead of product page. Your plugin works on regular product page add, shows error and doesn’t add dependent product. However, with the ajax add to cart button it just adds the product to cart. It only shows error message via cart validation later on when go to the page. Is there any way to make it work with ajax product call instead of traditional page reload/redirection?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Does not work with ajax ADD to Cart button’ is closed to new replies.