Ecom:Country.AddressEditFormat

Version: 9.9.0 string  

Summary

Returns string contains address edit format.

Settings

The value is related a data set in 'Address edit format' control of specific country located at 'Settings-Ecommerce-Internalization-Countries'.

Remarks

The tag can be filled by a data when 'Address edit mode' is 'Custom' and is empty othewise.

Examples

Outputting the template tag

@GetString("Ecom:Country.AddressEditFormat")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("Ecom:Country.AddressEditFormat"); }

Outputting the template tag

<!--@Ecom:Country.AddressEditFormat-->

Check if string has a value

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