Developer forum

Forum » Templates » get list of Default Related groups of a group

get list of Default Related groups of a group

Jim Trebbien
Reply

I have a product category with some related groups defined in the "Default Related groups" tab.

Now in the frontend I would like to get a list of these groups. I have tried with a

<!--@LoopStart(ProductRelatedGroups)--> loop, but that only gives me the group itself and not the list of related groups.

What I need is a RelatedGroups og GroupRelatedGroups loop, but there is no such thing? or am I just missing something?

 


Replies

 
Merethe Nielsen
Reply

Hi,

"Default related groups" in group edit is available in the product loop with the AssociatedGroups loop.

 

"Default related groups" is used to set default values for "Related groups" in product edit for new created products in th group where you have added "default related groups".

Check video that shows how it works with the AssociatedGroups loop: http://screencast.com/t/3udgA3prHkbL 

 

Kind regards,
Merethe

 

 

 
Jim Trebbien
Reply

I want to show the related groups in the "list" view. I show info on the group of products and I want to show related groups. I am never on the single product template.

 

You must be logged in to post in the forum