Answer the question
In order to leave comments, you need to log in
How to automatically update the price of a product from its quantity?
Hello.
I have a WordPress site and a WooCommerce mini shopping cart.
When, for example, you have added products, you can open the mini basket on the page and use the buttons and minus to add / reduce its quantity.
But, there is a problem - the price is not updated. How to fix it?
I display the price using the
Button class minus "minicart__product__counter__minus", plus "minicart__product__counter__plus
" echo $product_price;
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