Ecom:Country.IsCustomerCountry

Version: 8.6.1 string  

Summary

Returns True if the country is customer's one. 

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("Ecom:Country.IsCustomerCountry")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

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

Check if string has a value

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