//eCart Rule
function WAEC_eCart1_GraduatedShipping() {
$totalShipping = 0;
if (true && ((sizeof($this->Items) == 1))) {
$totalShipping += 8.5;//Result
}
return WA_eCart_FormatNumber($totalShipping, $this->ForceDecimalsC, $this->DecimalPlacesC);
}
//eCart Rule
I substituted the shipping rule with the above and this rule works fine.
Both issues seem to be related to the presence of a < or >.
So do I have a syntax issue in these first two rules or is there some code missing?