Developer forum
E-mail notifications
Showing products of sub-groups
Replies
thomas@2krogh.dk wrote:
When browsing a product group, i would like to show the products of the product groups "sub-groups" as well. Is that possible, or do I have to manually attach all products to all groups?
If you have the products "attached" to sub-groups that sits under a top-group you can list either all products in the top-group, all sub-groups in the top-group or all products under a certain sub-group.
It's all controlled by the templates in the ecom module on a specific page.
One tip her is preparation. Make shure you plan your data before importing them into eCom.
Doing it rigt will you a lot of possibillites.
Again lookat www.aschehoug.dk and see what is possible using standard keywords i relation to grous na com back for further details.
/Lars
My guess is, that the products are manually attached to the group "Faglitteratur" as well as they are attached to the subgroups (e.g. "kultur"). If i am wrong, then what template tags should i use to loop through all products of a group and its subgroups?
thomas@2krogh.dk wrote:
So by browsing http://www.aschehoug.dk/Default.aspx?ID=4 you will see the products of all the subgroups of "Faglitteratur"?
My guess is, that the products are manually attached to the group "Faglitteratur" as well as they are attached to the subgroups (e.g. "kultur"). If i am wrong, then what template tags should i use to loop through all products of a group and its subgroups?
Nop - the products are only attached to the sub groups
You have to select all the subgroups in the eCom list vindow in the module.
What i have done is a page for each main group (Faglitteratur, Skønlitteratur) etc.
On each page i have selected to list all sub groups for that specific main group.
Basically i would be nice if it was possible just to select the main group and have all items listed including all sub-groups.
No can do right now..
Lets now ask DW for a "List Items in Sub Group" switch on the ecom ListProducts module setup.
/Lars
lb wrote:I thought of that as well - but since i only have one group attached to my paragraph module, and i am using the XSLT productgroup-menu in my page template, i can navigate to groups, even though they are not attached to the paragraph module.thomas@2krogh.dk wrote:
So by browsing http://www.aschehoug.dk/Default.aspx?ID=4 you will see the products of all the subgroups of "Faglitteratur"?
My guess is, that the products are manually attached to the group "Faglitteratur" as well as they are attached to the subgroups (e.g. "kultur"). If i am wrong, then what template tags should i use to loop through all products of a group and its subgroups?Nop - the products are only attached to the sub groups
You have to select all the subgroups in the eCom list vindow in the module.
What i have done is a page for each main group (Faglitteratur, Skønlitteratur) etc.
On each page i have selected to list all sub groups for that specific main group.
Basically i would be nice if it was possible just to select the main group and have all items listed including all sub-groups.
No can do right now..
Lets now ask DW for a "List Items in Sub Group" switch on the ecom ListProducts module setup.
/Lars
You must be logged in to post in the forum