Developer forum

Forum » Templates » Related products on product groups

Related products on product groups

Sten Hougaard
Reply

Hi,

I have added related products to a ecom productgroup. It is to be used to show a slider when viewing a productgroup. In Dynamicweb backend it is possible to add related products to ecom productgroups, but it seems that there is no Loop on the template which will give me the related product groups.

I have a HTML template and the DwTemplateTag shows no loop of relatedproducts. Am I missing something?

On the individual product I can (in XSLT) get the items needed for the slider like this:

loop[@name='ProductRelatedGroups']/item[Ecom.Product.RelatedGroup.Name='Slidere']/loop[@name='RelatedProducts']

/Sten

 


Replies

 
Nicolai Høeg Pedersen
Reply

Hi Sten

 

Yes, that feature is for setting up default related products for when you are creating new products in that group.

 

Nothing will display in the frontend for the group.

 

//Nicolai

 

You must be logged in to post in the forum