Developer forum

Forum » Templates » List Ecom subgroups with products

List Ecom subgroups with products

Michael Nielsen
Reply
Is there a way I can list the subgroups of the active product group like this:

<h1>Ecom:Group.Name</h1>
<p>Ecom.Group.Description</p>
Here i would like to have listed the subgroups to the active group
LoopStart(Products)
LoopEnd(Products)

Replies

 
Yury Zhukovskiy
Reply
Hi,
You can do it with GroupTemplateExtender
Read related posts:
http://developer.dynamicweb-cms.com/forum/templates.aspx?ThreadID=26744
http://developer.dynamicweb-cms.com/documentation/for-developers/dynamicweb-add-ins/template-extenders.aspx


 
Michael Nielsen
Reply
Thanks for the answer Yury, but writing custom .Net code is not an option.

It isn't possible with xslt or template tags?
 
Nicolai Høeg Pedersen
Reply
This post has been marked as an answer
Use DwTemplateTags to see what options you have.

You have a loop called Childgroups that contains the - yeah, child groups...

Votes for this answer: 0
 
Michael Nielsen
Reply
Use DwTemplateTags to see what options you have.

You have a loop called Childgroups that contains the - yeah, child groups...


I presumed when availableloops was not set, all available data would be present in the xml...

Sometimes the answer is so simple... :-)

Thanks...

 

You must be logged in to post in the forum