Ecom:Order.ShippingMethod

Version: - string  

Summary

Returns the name of the shipping method.

Settings

The value is based on the Name input field for the shipping method.

(Management Center > Ecommerce settings > Orders > Shipping > Shipping method > General tab)

Examples

Outputting the template tag

@GetString("Ecom:Order.ShippingMethod")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("Ecom:Order.ShippingMethod"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("Ecom:Order.ShippingMethod"); }

Outputting the template tag

<!--@Ecom:Order.ShippingMethod-->

Check if string has a value

<!--@If Defined(@Ecom:Order.ShippingMethod)--> Let's output this tag here: <strong><!--@Ecom:Order.ShippingMethod--></strong> <!--@EndIf(@Ecom:Order.ShippingMethod)-->