Ecom:Country.AddressDisplayFormat
Version: 9.9.0 stringSummary
Returns string contains address display format.
Settings
The value is related a data set in 'Address display format' control of specific country located at 'Settings-Ecommerce-Internalization-Countries'.
Remarks
The tag can be filled by a data when 'Address display mode' is 'Custom' and is empty othewise.
Examples
Outputting the template tag
@GetString("Ecom:Country.AddressDisplayFormat")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Ecom:Country.AddressDisplayFormat"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Ecom:Country.AddressDisplayFormat");
}
Outputting the template tag
<!--@Ecom:Country.AddressDisplayFormat-->
Check if string has a value
<!--@If Defined(@Ecom:Country.AddressDisplayFormat)-->
Let's output this tag here: <strong><!--@Ecom:Country.AddressDisplayFormat--></strong>
<!--@EndIf(@Ecom:Country.AddressDisplayFormat)-->