We are creating pages that use the matrix layout. We wish to break up that layout on a page so that the products are shown in different categories sorted by a specific variable value, in this case it may be by name of the product though we might do it by a different variable such as product field or whatever.
I suppose that in theory I can do it by calling mulitple product loops but i do not know how to code such a loop.
I would be trying to achieve the following sort of layout:
Product A image .................................product a blah blah sku: blah blah price: blah blah
Description of Product A ....................... product a blah blah2 sku: blah blah2 price: blah blah2
................................................... product a blah blah3 sku: blah blah3 price: blah blah3
Product b image................................... product b blah blah sku: blah blah price: blah blah
Description of Product b.......................... product b blah blah2 sku: blah blah2 price: blah blah2
..................................................... product b blah blah3 sku: blah blah3 price: blah blah3
And so on.
(ignore the dots, they are just there to make the layout work)
I need some way to call a loop for product a, then call a loop for product b etc.
The number of products in each category may change as products are added and removed from pages, and so trying to loop by a fixed number, as i have asked on this forum in the past, will not be the way to go for us.
Maybe subproducts might do it but i do not know enough about how that works to determine that. If anyone has used that for their sites and could link to it so I could see it in action then that would be helpful, but i really would prefer to call multiple loops for specific variable values.
Anyone any clues?
We are using pro v11.