How to get product quantity or total price from WooCommerce product page


I have done button on product page. When user clicks it, pop up will open where user can see product price with installment.

But it calculate price of one product. I want to do so that it will calculate installment price dependent of quantity of product that user selected. (‘Product Quantity’ x ‘Product Price’ = ‘Product Total Price’)

For example: There is White Shirt on the site. It coasts 40$. User want buy 4 from this Shirt. And He want to see installment rate of it.

The pop up must get quantity of the product.

So How can I get quantity of the product or total product price from product page?

Please Help! Thank you!


enter image description here

enter image description here

UNI TAXI 2 years 2020-10-25T08:10:19-05:00 0 Answers 9 views 0

Leave an answer