Thanks Jason
ECart rule session code:
//eCart Rule
function WAEC_eCart1_UK() {
$totalShipping = 0;
if (true && (((isset($_SESSION['shipping_country'])?$_SESSION['shipping_country']:"") == "GB"))) {
$totalShipping += (floatval($this->GetInfo("0", "Quantity")) + 0);//Result
}
return WA_eCart_FormatNumber($totalShipping, $this->ForceDecimalsC, $this->DecimalPlacesC);
}
//eCart Rule
//eCart Rule
function WAEC_eCart1_Europe() {
$totalShipping = 0;
if (true && (((isset($_SESSION['shipping_country'])?$_SESSION['shipping_country']:"") == "BE") || ((isset($_SESSION['shipping_country'])?$_SESSION['shipping_country']:"") == "CY") || ((isset($_SESSION['shipping_country'])?$_SESSION['shipping_country']:"") == "FR") || ((isset($_SESSION['shipping_country'])?$_SESSION['shipping_country']:"") == "DE") || ((isset($_SESSION['shipping_country'])?$_SESSION['shipping_country']:"") == "GR") || ((isset($_SESSION['shipping_country'])?$_SESSION['shipping_country']:"") == "IE") || ((isset($_SESSION['shipping_country'])?$_SESSION['shipping_country']:"") == "IM") || ((isset($_SESSION['shipping_country'])?$_SESSION['shipping_country']:"") == "IT") || ((isset($_SESSION['shipping_country'])?$_SESSION['shipping_country']:"") == "LI") || ((isset($_SESSION['shipping_country'])?$_SESSION['shipping_country']:"") == "LT") || ((isset($_SESSION['shipping_country'])?$_SESSION['shipping_country']:"") == "LU") || ((isset($_SESSION['shipping_country'])?$_SESSION['shipping_country']:"") == "NL") || ((isset($_SESSION['shipping_country'])?$_SESSION['shipping_country']:"") == "PT") || ((isset($_SESSION['shipping_country'])?$_SESSION['shipping_country']:"") == "ES"))) {
$totalShipping += (floatval($this->GetInfo("0", "Quantity")) + 35);//Result
}
return WA_eCart_FormatNumber($totalShipping, $this->ForceDecimalsC, $this->DecimalPlacesC);
}
//eCart Rule
//eCart Rule
function WAEC_eCart1_USA() {
$totalShipping = 0;
if (true && (((isset($_SESSION['shipping_country'])?$_SESSION['shipping_country']:"") == "US"))) {
$totalShipping += (floatval($this->GetInfo("0", "Quantity")) + 55);//Result
}
return WA_eCart_FormatNumber($totalShipping, $this->ForceDecimalsC, $this->DecimalPlacesC);
}