Hi,
I trying to create a calculation that can reduce the price when the quantity increases.
For example for a quantity of up to 500 I might charge £5.00 per unit. Then for anything up to 1000 I would charge £4.00 then it would reduce again at 1500.
This issue just now is that I can apply a discount but it changes all of the pricing. I need the price for the first 500 to stay the same and just to be added to the next 500 an so on as follows,
0 to 499 would cost £5.00 per unit
500 to 999 would cost £4.00 per unit
1000 to 1499 would cost £3.00 per unit
2000+ £2.00 per unit
etc
so for 999 users it would cost £4,495.00
Addition to above I have added this code but only seems to look at the first statement and perform the calculation on that and nothing else.
if(([item-261_quantity] >0 && <=499)){
([item-261_price])*5
}else if (([item-261_quantity] >499 && <=999)){
([item-261_price])*4{
}else if (([item-261_quantity] >1000 && <=1500)){
([item-261_price])*3
}else if (([item-261_quantity] >1500 && <=1999)){
([item-261_price])*2
}else {
([item-261_price])*1
}
}
Can you help?
Thanks,