First of all I have written this topic and this topic on this forum but I did not find a solution of my problem.
First Instance is LISEproduct, second LISEmaterials.
In LISEmaterials there is Category field definition to group items by category like wood, metal, aluminum and so on.
In LISEproduct there is Material field definition (alias: material) type: LISE Instance Item, sub-type jquery multiselect.
In a detail view of each product I drill down to materials of this specific product by using
Code: Select all
{LISEmaterials include_items="{$item->material}" template_summary="product-card"}
- material 1, category: wood
- material 2, category: metal
- material 3, category: wood
- material 4, category: wood
(the aluminum category is not displayed because no material has been selected)
Put simply, I want to get this effect:
Category Wood:
- material 1
- material 3
- material 4
Category Metal:
- material 2
Anyone have an idea how to do this?