Ecom:Manufacturer.ZipCode

Version: - string  

Summary

Returns the zip code of the manufacturer.

Settings

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

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

Examples

Outputting the template tag

@GetString("Ecom:Manufacturer.ZipCode")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

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

Check if string has a value

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