Ecom:FieldDisplayGroup.Field.Value
Version: 9.7.0 stringSummary
Returns Value of the field.
Settings
The value is generated automatically or can be set in the field definition-Options-Value for Product Custom/Category fields type of list.
Examples
Outputting the template tag
@GetString("Ecom:FieldDisplayGroup.Field.Value")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Ecom:FieldDisplayGroup.Field.Value"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Ecom:FieldDisplayGroup.Field.Value");
}
Outputting the template tag
<!--@Ecom:FieldDisplayGroup.Field.Value-->
Check if string has a value
<!--@If Defined(@Ecom:FieldDisplayGroup.Field.Value)-->
Let's output this tag here: <strong><!--@Ecom:FieldDisplayGroup.Field.Value--></strong>
<!--@EndIf(@Ecom:FieldDisplayGroup.Field.Value)-->