...
Tiered Plan - calculated on Order Qty (Per Order)
This plan is designed for use when charging on the quantity per order. This formula does NOT use the $monthlyVolume variable
No Format | ||
---|---|---|
| ||
if($quantity < 301) { return $quantity * 0.00001; } elseif ($quantity < 601) { return $quantity * 0.00002; } elseif ($quantity < 1001) { return $quantity * 0.00003; } elseif ($quantity < 1301) { return $quantity * 0.00004; } elseif ($quantity < 1601) { return $quantity * 0.00005; } elseif ($quantity < 2001) { return $quantity * 0.00006; } else { return $quantity * 0.00007; } |
...