Ecom:Manufacturer.Email

Version: - string  

Summary

Returns the e-mail address of the manufacturer.

Settings

The value is based on the E-mail input field for a manufacturer.

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

Examples

Outputting the template tag

@GetString("Ecom:Manufacturer.Email")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

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

Check if string has a value

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