I have it as Condition 'Subtotal for any column' and the three levels of discounts (5% for 6 thru 10, 10% for 11 thru 20 and 15% for over 21), and it works fine, but same issue I'm trying to resolve is, I don't want the discount to apply to another items where there's only one of that item. I'm trying to change it to Calculations 'Based on column subtototal' (thinking that will work), but it keeps reverting to 'Based on the cart subtotal'.
1) Will what I'm trying to do work?
2) Why does it keep reverting back?
3) If it should work, what should the code look like instead of this:
//eCart Rule
function WAEC_eCart1_QuantityDiscount1() {
$totalDiscount = 0;
if (true && (($this->TotalColumn("Quantity") >= 6) && ($this->TotalColumn("Quantity") <= 10))) {
$totalDiscount += ($this->TotalColumn("TotalPrice") * 0.05);//Result
}
return WA_eCart_FormatNumber($totalDiscount, $this->ForceDecimalsC, $this->DecimalPlacesC);
}
//eCart Rule