Hi! I am using a product calculator for Vendr 2.1.0.

I am using 2 discounts, 1 active, 1 code. Both are using percentage as a reward. 35% & 20%.

From what I've come to understand Vendr adds the percentages and then calculates the discount. So it becomes 55% off the unit price.

Let's say we have a product that cost 725 kr. The discounted price would then be 326 kr (55% discount). But we want it to first calculate the 20% and then 35%. So first 20% off 725 kr Which becomes 580 kr and then 35% off 580 kr which becomes a total of 377 kr.
I've added a product calculator to calculate it this way. But the transaction amount still displays 326 kr (55% discount).

Do I need to add another type of calculator in order for the transaction amount to become correct? Or is there an other way to go about this?

Discounts are applied in order of how they are defined in the back office, so as long as your 20% discount appears before the 35% discount, it should apply the 20 and then apply the 35 to previous discounted price.

After a bit of tinkering I found out that this happens because our 20% is an total price reward. While our 35% reward is Orderline With product amount.

So I had to change them to be of the same type of discount!

## Product calculator discount percentages

Hi! I am using a product calculator for Vendr 2.1.0.

I am using 2 discounts, 1 active, 1 code. Both are using percentage as a reward. 35% & 20%.

From what I've come to understand Vendr adds the percentages and then calculates the discount. So it becomes 55% off the unit price.

Let's say we have a product that cost

`725 kr`

. The discounted price would then be`326 kr`

(`55%`

discount).Butwe want it to first calculate the`20%`

and then`35%`

. So first`20%`

off`725 kr`

Which becomes`580 kr`

and then`35%`

off`580 kr`

which becomes a total of`377 kr`

. I've added a product calculator to calculate it this way. But the transaction amount still displays`326 kr`

(`55%`

discount).Do I need to add another type of calculator in order for the transaction amount to become correct? Or is there an other way to go about this?

//Johannes

Hi Joannes,

Discounts are applied in order of how they are defined in the back office, so as long as your 20% discount appears before the 35% discount, it should apply the 20 and then apply the 35 to previous discounted price.

Hi Matt!

After a bit of tinkering I found out that this happens because our 20% is an total price reward. While our 35% reward is Orderline With product amount.

So I had to change them to be of the same type of discount!

//Johannes

is working on a reply...