[TemplateTag].System

Version: - string  

Summary

Returns the system name of the product group field.

Settings

The value is based on the System name input field in the Product Group fields section in Management center.

(Management Center - Ecommerce - Product catalog - Product group 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)-->