Developer forum

Forum » Development » prices - product units - challenge!

prices - product units - challenge!

Rasmus Thirslund
Reply

Hi Everyone :-)

I'd like to get som ideas on how to solve this - can it be done with dw-standards or shall we develop a custom function for this...?

The question is how to handle discounts that differentiate both on which [type of product] and [quantity]
It can be expressed in this matrix:

type \Quantity 
      | 50 pcs        | 100 pcs      | 200 pcs      |
1    | price: 100% | price: -10% | price: -20% |
2    | price: 100% | price: -20% | price: -36% |

The Price is calculated for each product with the given discount within the structure.

Example: 

producttype 1 - default price = 10 $
producttype 2 - default price = 100 $

If I buy 50 pcs of producttype 1, price per product is 10 $, orderline total is 500 $.
If I buy 100 pcs of type 2, price per product is 100 $ - 20% = 80 $, giving a orderline total of 8.000$

I was told that this could be done with "product Units" but I cant find any documentation on this.

Any other ideas - any help is preciated :-)
 

/
Regards
Rasmus Thirslund
Condurra.dk

 


Replies

 

You must be logged in to post in the forum