Ecom:Cart.Shippingmethod.FeeFree
Version: - stringSummary
Returns a value depending of the input in the field No fee for purchases over.
Settings
The value is generated automatically, but is based on the No fee for purchases over input field under theShipping settings.
(Management Center - eCommerce settings > Orders > Shipping > Shipping method > General tab - No fee for purchases over)
Examples
Outputting the template tag
@GetString("Ecom:Cart.Shippingmethod.FeeFree")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Ecom:Cart.Shippingmethod.FeeFree"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Ecom:Cart.Shippingmethod.FeeFree");
}
Outputting the template tag
<!--@Ecom:Cart.Shippingmethod.FeeFree-->
Check if string has a value
<!--@If Defined(@Ecom:Cart.Shippingmethod.FeeFree)-->
Let's output this tag here: <strong><!--@Ecom:Cart.Shippingmethod.FeeFree--></strong>
<!--@EndIf(@Ecom:Cart.Shippingmethod.FeeFree)-->