0

I have added my buttons into woocommerce/templates/content-product.php

<button type="button" class=" ajax_add_to_cart add_to_cart_button plus" data-product_id="274">+</button>
<button type="button" class="minus" data-product_id="274">-</button>

My plus button is adding product via AJAX but problem is I have not found any solution for my minus button.

So how can I decrease product one by one in woocommerce shop page with AJAX?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.