Display Total Price when multiple quantities of a variable product are chosen
-
I am looking to display the total price of a variable product when multiple quantities are selected.
I found?many stack overflow codes?and they work great for simple products but when used for variable products the ‘Product Total’ multiplies by the minimum price of the variable product.
For example. We have a variable product with prices that range from $20 – $100
You select a $30 variation, increase the quantity to 2 and the Total Price displays $40.
When added to the cart the Subtotal comes out correct ($60).
How do we get the Total Price line to calculate based on the price of the chosen variation?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Display Total Price when multiple quantities of a variable product are chosen’ is closed to new replies.