I'm trying to retrieve the value / labels of all product category fields from a product group inside a product list page.
I can loop trough the category fields by calling GetLoop("GroupCategoryFields") but the values seems empty while other fields like id and label are filled.
For example:
@foreach(var field in GetLoop("GroupCategoryFields")){
var label = field.GetString("Ecom:Group.CategoryField.Label");
var fieldId = field.GetString("Ecom:Group.CategoryField.ID");
var value = field.GetString("Ecom:Group.CategoryField.Value");
}
How can i get the values of a group categoryfield?