Scales in contract
I need to create a pirce with scale per quantity interval. But the price has to be same in each interval not in global. Better with an example.
1-100 UN --> 10$
101-200 UN --> 9$
201-300 UN --> 8$
I buy 250 units. The total amount should be:
100* 10$ + 100 * 9$ + 50* 8$ = 2300$
Can we do it by customozing and how?
I know that in scales i can use one that will do in this case 250 * 8$, but i need the example before
thanks in advance