I've also noticed that your javascript frontend.js has a commented section titled " // remove ajax add to cart " where you remove the ajax_add_to_cart class. Do you think it might be related?
Since some themes are not customized for the AJAX Add to cart, we have removed that part to make bundles work properly. You can kindly install this plugin to make it work: https://wordpress.org/plugins/wpc-ajax-add-to-cart/. Just 1 click installation and no special settings needed.
Hi Janilyn, thank you so much for your help. It worked. It adds to cart now.
One detail I've noticed: The add to cart button for the bundle (in the list and in the page) is linking to the bundled products' page, instead of just triggering a script. Is it a standard behavior of the plugins? My shop's cart is a modal so I wish not to 'refresh' the page.
Thanks for the feedback. I have consulted our developers and they said that it's the standard scheme for bundles to work properly on different themes. You can rest assured about that.
Hi, people.
I need a little help.
My bundle - as well as the single products - has an add to cart button right in the products list. It works for all of them, including the bundle.
But in the bundled products' page the button doesn't work.
I've noticed that in the products list, the add to cart button of the bundle triggers a different url than in the bundle's page.
in the list it has an url of https://shopfava.com.br/categoria-produto/acessorios/?add-to-cart=2039
and triggers https://shopfava.com.br/?wc-ajax=add_to_cart
and in the page it triggers https://shopfava.com.br/produto/kit-prazer-supremo/?product_quickview=1
I've also noticed that your javascript frontend.js has a commented section titled " // remove ajax add to cart " where you remove the ajax_add_to_cart class. Do you think it might be related?
Thanks for the help.
Hi Felipe,
Thanks for contacting us here.
Since some themes are not customized for the AJAX Add to cart, we have removed that part to make bundles work properly. You can kindly install this plugin to make it work: https://wordpress.org/plugins/wpc-ajax-add-to-cart/. Just 1 click installation and no special settings needed.
Best regards.
Janilyn T. - WPClever Support Agent
Hi Janilyn, thank you so much for your help. It worked. It adds to cart now.
One detail I've noticed: The add to cart button for the bundle (in the list and in the page) is linking to the bundled products' page, instead of just triggering a script. Is it a standard behavior of the plugins? My shop's cart is a modal so I wish not to 'refresh' the page.
Hi Felipe,
Thanks for the feedback. I have consulted our developers and they said that it's the standard scheme for bundles to work properly on different themes. You can rest assured about that.
Best regards.
Janilyn T. - WPClever Support Agent