Hi Dynamicweb,
Within a Productlist template I have a Products Loop. I loop trough the products, and for each product I want the Group name of the current Group. Unfortunately the Ecom:Group.Name does not work within the loop.. So I am using AssociatedGroups the get the associated groups. When the product is in only 1 group, the group properties are showing perfectly.
The problem is, that when a product is in multiple groups, the AssociatedGroups loops trough all the associated groups. Only the current Group information of the current group page I would like to access.
Using <!--@LoopItem(AssociatedGroups,0,Ecom:Group.Name)--> within <!--@LoopStart(Products)--> Does not work.
Using <!--@GetMaster(Ecom:Group.Name)--> within the <!--@LoopStart(Products)--> does not work.
So I tried using an If statement on the AssociatedGroups loop counter. The problem there is that the counter doesn't reset, when accessing the next product in the loop.
Now it seems that Dynamicweb forces me to convert the template to XSLT or worst case scenario to tell the editor to not place the product in multiple groups.
Haven't worked with Dynamicweb templates for more then a year now. Maybe I am missing something :)?
Kind Regards, Pim