Discount calculation on products with options

  • Serge Broennimann
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
3 weeks 3 days ago #134285 by Serge Broennimann
Discount calculation on products with options was created by Serge Broennimann
Hello,

When I set a % discount on a product that has options (size for exemple) with additionnal prices, the dynamic price on the product page is not well calculated.
But in the checkout cart, everything is correct...

The case:
Wine bottle 75cl CHF 37.04735376 + 7.7% taxes = CHF 39.90
option 300cl + CHF 110.58495822 + 7.7% taxes = CHF 159.00
With discount 35% set:
bottle 75cl: CHF 25.93 (OK)
bottle 300cl: CHF 145.04 !!!

any ideas? Thanks for your help.
Serge

Please Log in or Create an account to join the conversation.

Moderators: Giang Dinh Truong