Thanks for the reply. Since posting yesterday, I've been banging away. These calculations now work GREAT (thanks!!):
PartsShipping = abs([CategoryID] == 4) * [Quantity]
PaperShipping = abs([CategoryID] == 10) * [Quantity]
But I'm stuck on one last rule. FreePaper (below and attached in my WA_eCart). This rule has now replaced the former rule which was giving problems.
//eCart Rule
function WAEC_WA_Store_Cart_Paper2() {
$totalShipping = 0;
if (true && (($this->InCart("TargetShipping") != true) && ($this->ConditionalTotal("Quantity", "CategoryID", "4") > 0))) {
$totalShipping += (ceil($this->TotalColumn("PaperShipping")/10) * 9.50);//Result
}
return WA_eCart_FormatNumber($totalShipping, $this->ForceDecimalsC, $this->DecimalPlacesC);
}
//eCart Rule
//eCart Rule
function WAEC_WA_Store_Cart_FreePaper() {
$totalShipping = 0;
if (true && (($this->InCart("TargetShipping") == true) && ($this->ConditionalTotal("Quantity", "CategoryID", "4") > 0))) {
$totalShipping += (ceil($this->TotalColumn("PaperShipping")/10) * 0);//Result
}
return WA_eCart_FormatNumber($totalShipping, $this->ForceDecimalsC, $this->DecimalPlacesC);
}
//eCart Rule
Thanks again! Once I have this worked out, it'll be smooth sailing!
--
whit