CountryCodeISO3166A2
Version: - stringSummary
Returns County code of the shop in ISO3166A2..
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetString("CountryCodeISO3166A2")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("CountryCodeISO3166A2"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("CountryCodeISO3166A2");
}
Outputting the template tag
<!--@CountryCodeISO3166A2-->
Check if string has a value
<!--@If Defined(@CountryCodeISO3166A2)-->
Let's output this tag here: <strong><!--@CountryCodeISO3166A2--></strong>
<!--@EndIf(@CountryCodeISO3166A2)-->