[TemplateTag].System
Version: - stringSummary
Returns the system name of the custom product field.
Settings
The value is based on the System name input field in the Product field section in Management center.
(Management Center - Ecommerce - Product catalog - Product fields - General - Settings - System name)
Examples
Outputting the template tag
@GetString("[TemplateTag].System")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("[TemplateTag].System"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("[TemplateTag].System");
}
Outputting the template tag
<!--@[TemplateTag].System-->
Check if string has a value
<!--@If Defined(@[TemplateTag].System)-->
Let's output this tag here: <strong><!--@[TemplateTag].System--></strong>
<!--@EndIf(@[TemplateTag].System)-->