Ecom:Manufacturer.Country

Version: - string  

Summary

Returns the country of the manufacturer.

Settings

The value is based on the Country input field for a manufacturer.

(Ecommerce > Settings > Manufacturers > Manufacturer > General tab)

Examples

Outputting the template tag

@GetString("Ecom:Manufacturer.Country")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

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

Check if string has a value

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