[TemplateTag].StartTag

Version: - string  

Summary

The value of the input field for the product group field.

Settings

The value is based on the product group field on the product group edit page.

(Ecommerce - Product Group - Edit group - Product group fields - Product group field)

Examples

Outputting the template tag

@GetString("[TemplateTag].StartTag")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("[TemplateTag].StartTag"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("[TemplateTag].StartTag"); }

Outputting the template tag

<!--@[TemplateTag].StartTag-->

Check if string has a value

<!--@If Defined(@[TemplateTag].StartTag)--> Let's output this tag here: <strong><!--@[TemplateTag].StartTag--></strong> <!--@EndIf(@[TemplateTag].StartTag)-->