Combined Shipping Discounts
Eric-
Thank you- still no joy.
The sessions are displaying on the Confirm page - just fine
but I think the issue is the specific rules- for shipping which displays < $100
There are 4 shipping types standard, next day, 2 day and international these all have an AND statement "Total Price"< 100 which allows ALL orders over $100 to exclude the flat rate specific dollar amount
However- I can not get US ship to country to override this flat rate with $0.00
This is the first rule: where fax is the drop down of the ship type 1-4
//eCart Rule
function WAEC_eCart1_FreeShippingDomesticOver100() {
$totalShipping = 0;
if (true && ((sizeof($this->Items) > 0) && ((isset($_SESSION['eCartCheckoutForm_shipping_country'])?$_SESSION['eCartCheckoutForm_shipping_country']:"") == "US") && ($this->TotalColumn("TotalPrice") >= 100) && ((isset($_SESSION['eCartCheckoutForm_shipping_fax'])?$_SESSION['eCartCheckoutForm_shipping_fax']:"") == "1"))) {
$totalShipping += 0;//Result
}
return WA_eCart_FormatNumber($totalShipping, $this->ForceDecimalsC, $this->DecimalPlacesC);
}
//eCart Rule
//eCart Rule
function WAEC_eCart1_FedexStandard() {
$totalShipping = 0;
if (true && ((sizeof($this->Items) > 0) && ((isset($_SESSION['eCartCheckoutForm_shipping_fax'])?$_SESSION['eCartCheckoutForm_shipping_fax']:"") == "1") && ($this->TotalColumn("TotalPrice") < 100))) {
$totalShipping += 9.95;//Result
}
return WA_eCart_FormatNumber($totalShipping, $this->ForceDecimalsC, $this->DecimalPlacesC);
}
//eCart Rule
I think there needs to be a conditional statement somewhere
//eCart Rule
function WAEC_eCart1_FreeShippingDomesticOver100() {
$totalShipping = 0;
if (true && ((sizeof($this->Items) > 0) && ((isset($_SESSION['eCartCheckoutForm_shipping_country'])?$_SESSION['eCartCheckoutForm_shipping_country']:"") == "US") && ($this->TotalColumn("TotalPrice") >= 100) && ((isset($_SESSION['eCartCheckoutForm_shipping_fax'])?$_SESSION['eCartCheckoutForm_shipping_fax']:"") == "1"))) {
$totalShipping += 0;//Result
}
return WA_eCart_FormatNumber($totalShipping, $this->ForceDecimalsC, $this->DecimalPlacesC);
}
//eCart Rule