• Resolved ignaaaam

    (@igna70)


    Hi’ it’s been a week since im trying to solve this problem i’m having. We installed the plugin for this wordpress shop which uses woocommerce + elementor. The plugin works well when you enter on a single product and adds the product without refreshing the website. The problem is on the product archive where appear more than one product. The ajax plugin doesnt work and website keeps refreshing when trying to add to cart.

    What i’ve noticed is that the add to cart button is different from the archive product grid and the single product page. On the product archive the form has “?add-to-cart={product_id}” as action & the button doesn’t have any value or name (made tests with php on functions.php adding name, value and same class as the single page product and also changing the form action to make it identical as the single product page but stills not working). Also tried to disable plugins one by one, changing the theme to a default one & have checked “Activate add to cart AJAX buttons in archives” option checked but still not working. So I’m sure that the problem has to be something with the form and button not being the same. Does someone knows what could I do to make the ajax add to cart plugin work on product archive the same way it works on the single page product? It’s been almost a week since I’m trying to solve this but I’m running out of ideas to try.

    Hope someone can help.

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Ajax add to cart not working on product archive but working on single product’ is closed to new replies.