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