I'm getting total tax of $0, even when I have one taxable item in the cart.
I double checked and the value of "taxable" is 12 for the taxable item and 0 for the non taxable item. Here is the eCart code - perhaps I have something set incorrectly?:
function WAEC_moringa_cart_SalesTax() {
$totalTax = 0;
if (true && (($this->GetTaxableTotal() > 0) && ((isset($_SESSION['cust_shipst'])?$_SESSION['cust_shipst']:"") == "CA") && ($this->ConditionalTotal("Quantity", "taxable", "1") > 0))) {
$totalTax += ($this->ConditionalTotal("TotalPrice", "taxable", "1") * .0875);//Result
}
return WA_eCart_FormatNumber($totalTax, $this->ForceDecimalsC, $this->DecimalPlacesC);
}