Ecom:CustomField.System

Version: - string  

Summary

Returns the system name of the custom product field.

Settings

The value is based on the System name field under the product field settings.

(Management Center > Ecommerce > Product catalog > Product fields > Product field > System name)

Examples

Outputting the template tag

@GetString("Ecom:CustomField.System")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("Ecom:CustomField.System"); }

Outputting the template tag

<!--@Ecom:CustomField.System-->

Check if string has a value

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