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