Discount on Quantity of an Item
//eCart Rule
function WAEC_eCart1_cards() {
$totalDiscount = 0;
if (true && ((floatval($this->GetInfo("19", "Quantity")) >= 2))) {
$totalDiscount += (floatval($this->GetInfo("19", "Quantity")) * 1);//Result
}
return WA_eCart_FormatNumber($totalDiscount, $this->ForceDecimalsC, $this->DecimalPlacesC);
}
//eCart Rule
I cannot figure out why this discount does not work. Code was created by the Discount wizard in the eCart UI.