How to auto-adjust product price based on quantity?

Jpadgett
Visitor
2 0 0

Trying to have the price automatically update on the product page when the quantity is adjusted. Anyone have a solution?

Reply 1 (1)

ravi-nariya
New Member
4 0 0

If you just want to show updated price on product page when quantity is adjusted, then you can do it via simple javascript/Jquery operations.

- you can use on change event on "quantity" input and get quantity number to multiply it with price and replace price with new price. 

- In advance solution you can do it via ajax.

Ravi Nariya | Frontend Dev & Partner
Email - nariyaravieng@gmail.com