Ecom:FieldDisplayGroup.Field.Name

Version: 9.7.0 string  

Summary

Returns Name of the field.

Settings

The value is generated automatically or can be set in the field definition-Name for Product Custom/Category fields.

Examples

Outputting the template tag

@GetString("Ecom:FieldDisplayGroup.Field.Name")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("Ecom:FieldDisplayGroup.Field.Name"); }

Outputting the template tag

<!--@Ecom:FieldDisplayGroup.Field.Name-->

Check if string has a value

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