Posted on 04/02/2019 09:59:51
Hi Martin
That page is pretty simple - it is just 2 paragraphs with a title and a product catalog app showing a list of products in one group each.
An alternative is to look at the loop of products. Each product has tag for the group they are in, Ecom:Product.PrimaryOrFirstGroupID. Group your list of products by that ID and when the ID changes in the list, insert a heading looking for the name of the group using the API: Dynamicweb.Ecommerce.Services.ProductGroups.GetGroup(PrimaryOrFirstGroupID).Name.
Remember that this will only make sense if you remember to sort by group as the first sort option or have search results that are short enough to be in one page.
BR Nicolai