Developer forum

Forum » Ecommerce - Standard features » Pick the highest possible discount for product instead of applying all the discounts.

Pick the highest possible discount for product instead of applying all the discounts.

Davor Zlotrg
Reply

Hi dynamicweb,

We have a problem that multiple discounts are applied to the product even though we set the discount behaviour to "Highest" in the Advanced configuration (see the image attached).

Shouldn't it apply only the highest discount and discard the others? Right now, whichever option we choose in the configuration it doesn't have any effect. 

 

You can find an example product here, there are two 10% discounts (20%) applied to the price but the expected functionality would be to only pick the highest one (in this case 10%):

http://belugi.dw.inet-design.dk/produkt/ash-sort

Capture.JPG

Replies

 
Nicolai Pedersen
Reply

Hi Davor

Your dump show sales discounts. Have you defined you discount using the sales discounts or the order discounts? If you have used the order discount, there is a similar setting for the order discounts.

BR Nicolai

 
Davor Zlotrg
Reply

My discounts are defined as SalesDiscount but same thing applies with OrderDiscounts as well.

 
Nicolai Pedersen
Reply

What happens if you change one discount to 9%?

 
Davor Zlotrg
Reply

It applies all the discounts. 

 
Kristian Kirkholt Dynamicweb Employee
Kristian Kirkholt
Reply

Problem handled through Dynamicweb support.

 

You must be logged in to post in the forum