Please help with eCart international shipping
I'm trying to have two shipping rules based on Country. If shipping to the US then a flat fee of $5. If shipping to Canada a flat fee of $12
This is my attempt in the shipping rules. Don't know what I'm doing wrong because shipping is not displaying on shopping cart page.
<%
function WAEC_xxCart_shipgeneral()
totalShipping = 0
if (true AND ((WA_eCart_TotalColumn(xxCart, "TotalPrice") > 0) AND (cStr(Session("eCartCheckoutForm_shipping_country")) = "US"))) then
totalShipping = totalShipping + 5.00'Result
end if
WAEC_xxCart_shipgeneral = WA_eCart_FormatNumber(totalShipping, xxCart.ForceDecimalsC, xxCart.DecimalPlacesC)
end function
%>
<%
function WAEC_xxCart_shipcan()
totalShipping = 0
if (true AND ((WA_eCart_TotalColumn(xxCart, "TotalPrice") > 0) AND (cStr(Session("eCartCheckoutForm_shipping_country")) = "CA"))) then
totalShipping = totalShipping + 12.00'Result
end if
WAEC_xxCart_shipcan = WA_eCart_FormatNumber(totalShipping, xxCart.ForceDecimalsC, xxCart.DecimalPlacesC)
end function
%>