Ecom:Manufacturer.City
Version: - stringSummary
Returns the city of the manufacturer.
Settings
The value is based on the City input field for a manufacturer.
(Ecommerce > Settings > Manufacturers > Manufacturer > General tab)
Examples
Outputting the template tag
@GetString("Ecom:Manufacturer.City")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Ecom:Manufacturer.City"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Ecom:Manufacturer.City");
}
Outputting the template tag
<!--@Ecom:Manufacturer.City-->
Check if string has a value
<!--@If Defined(@Ecom:Manufacturer.City)-->
Let's output this tag here: <strong><!--@Ecom:Manufacturer.City--></strong>
<!--@EndIf(@Ecom:Manufacturer.City)-->