FieldDisplayGroups
9.7.0Summary
Returns the list of Field Display Groups.
Remarks
The rendering is based on data defined in Settings-Ecommerce-Product Catalog-Fields Display Groups, depends on 'Use in frontend' option can be enabled inside every group and supports translation to various ecommerce languages defined.
Examples
Basic usage
Notice the use of @item.GetValue to get data from the loop variable.
If you just write @GetValue, the data will be taken from outside the loop.
Similarly, you have to use @item.GetLoop to use loops inside a loop.
Check if the loop exists
Example of usage
The following general example illustrates how to use a loop construct.
Check if the loop exists
Available tags
Ecom:FieldDisplayGroup.ID
Returns ID of Field Display Group.
@GetInteger("Ecom:FieldDisplayGroup.ID")
Ecom:FieldDisplayGroup.Name
Retirns Name of Field Display Group.
@GetString("Ecom:FieldDisplayGroup.Name")
Available loops
Fields
Returns the list of fields defined inside every Field Display Group.
@foreach (LoopItem item in GetLoop("Fields")){ <p>@item.GetValue("TagName")</p> }