Answer the question
In order to leave comments, you need to log in
WooCommerce popup plugin not working. How to fix?
I have a WordPress site with a WooCommerce store.
I added the YITH WooCommerce Added to Cart Popup plugin to pop up a window when you add an item to the cart. In order for this to work on the page of the product itself (and not just in the catalog), I installed the Ajax add to cart for WooCommerce plugin.
But for some reason, the menu on the product page does not work, everything is fine in the catalog.
As far as I understand, this is a problem in the theme itself (osmo), because it automatically adds its own menu to the product page (that is, without different plugins, it will already be there).
I found this piece of code.
$('.single_add_to_cart_button.button.alt.btn.green_btn').click(function () {
// $('#added').modal("show");
$('.cart_counter').text(parseInt($('.cart_counter').text()) + 1);
});
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