Developer forum

Forum » Ecommerce - Standard features » Percentage discount not applied more than once

Percentage discount not applied more than once

Mario Santos
Mario Santos
Reply

Hi,

Discounts are not applied more than once when discount type is set to percentage. Any particular reason?
The fix seems to be fairly simple: https://www.screencast.com/t/Cn2HxPTkOWw

BR, Mario


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

So if you have 2 products you should not have 10% discount but 2x10% = 20%?

 
Mario Santos Dynamicweb Employee
Mario Santos
Reply

Hi Nicolai,

Adding products "Tennis shoes" and "Socks" to the cart we get 50% discount on "Socks". If we add 2 products of each, the discount is applied only one time, instead of twice.

BR, Mario

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

The discount is applied one time - 50% of a value. You have one orderline "Socks" and you have one discount "50%" which is applied to that orderline - once.

But you want it to by 50% only on first quantity. So 1 qty = 50% discount 2 qty = 25% discount, 3 qty = 16,6% discount and so on...

So how would the orderlines look like - this is how it would be now - so what would you want it to say?

  Unit price Discount price Qty Total
Socks $5 $2,5 3 $7,5
Socks discount 50%        

 

  Unit price Discount price Qty Total
Socks $5 $?? 3 $12,5
Socks discount ??%        
 
Mario Santos Dynamicweb Employee
Mario Santos
Reply

Hi Nicolai,

"Socks discount ??%" would be just a label, it's up to the marketeer to set up a descriptive enough name, like "50% on Socks when buying Tennis".
Regarding the discount price, it would be to calculated based on the currency amount for one time (as if "apply only once" was selected) and then multiply by the number of combinations of Tennis + Socks in the cart (in this case 2).

BR, Mario

 
Mario Santos Dynamicweb Employee
Mario Santos
Reply

Hi Nicolai,

Any thoughts on this?

BR, Mario

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

I do not understand what you want.

Can you display the orderlines and discounts in a table?

 
Mario Santos Dynamicweb Employee
Mario Santos
Reply

Hi Nicolai,

We have Shoes at $10 and Socks at $2.
We also have an order discount (incluse) that applies %50 off to the cheapest product, without any price or qty limitation - https://www.screencast.com/t/UPHDlrgXZa

Here are the examples of what we are trying to achieve:

Example A - https://www.screencast.com/t/HuPaa7lN64M Qty Price
Shoes 1 $10
Socks 1 $2
50% off on Socks when you purchase Shoes 1 -$1
Total $11
     
Example B - https://www.screencast.com/t/qT16a66LX Qty Price
Shoes 3 $30
Socks 3 $6
50% off on Socks when you purchase Shoes 3 -$3
Total $33
     
Example C - https://www.screencast.com/t/uYdWmWo5nSv5 Qty Price
Shoes 3 $30
Socks 2 $4
50% off on Socks when you purchase Shoes 2 -$2
Total $32
     
Example D - https://www.screencast.com/t/mQWTqeXS Qty Price
Shoes 3 $30
Socks 4 $8
50% off on Socks when you purchase Shoes 3 -$3
Total $35

BR, Mario

 
Mario Santos Dynamicweb Employee
Mario Santos
Reply

Hi Nicolai,

Have you got a chance to look into this?

BR, Mario

 
Mario Santos Dynamicweb Employee
Mario Santos
Reply

bump

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Well - it is not that simple. It seems you are giving the discount because of one product, but applying it on another. And that just 'happens to (almost) work)' in your setup.

And I could add 4 products to that discount - and say it applies to cheapest. Then it is the sum of quantities of the other 3? And what if I choose the most expensive or apply to all products, then what....?

It would be feasable if you buy 2 shoes, and 3 socks and get 3 discounts (socks are the cheapest, and you get the discount once per sock which triggers the discount)

BR Nicolai

 

You must be logged in to post in the forum