Ecom:Order.Delivery.City

Version: - string  

Summary

Returns the delivery address city.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("Ecom:Order.Delivery.City")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

<!--@Ecom:Order.Delivery.City-->

Check if string has a value

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