Ecom:Country.CultureInfo
Version: - stringSummary
Returns the locale ID for the country.
Settings
The value is based on the Locale ID input field under the Country settings.
(eCommerce > Configuration > Country > Country > General tab)
Examples
Outputting the template tag
@GetString("Ecom:Country.CultureInfo")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Ecom:Country.CultureInfo"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Ecom:Country.CultureInfo");
}
Outputting the template tag
<!--@Ecom:Country.CultureInfo-->
Check if string has a value
<!--@If Defined(@Ecom:Country.CultureInfo)-->
Let's output this tag here: <strong><!--@Ecom:Country.CultureInfo--></strong>
<!--@EndIf(@Ecom:Country.CultureInfo)-->