Page 1 of 1

products module hierarchy help needed.

Posted: Wed Mar 04, 2009 1:44 am
by geeves
Hi guys.

I'm having a lot of trouble figuring out how to setup and configure the products module to use in the following way.

I have a menu 3 levels deep. Here is an exact example of the layout:

Bathroom
    > Showers
       >> Shower Systems
       >> Shower bases
       >> Rail showers
       >> Shower heads

I need to group products in such a way that shows a category list of some sort unless the category contains products.

So, when the user clicks Bathroom, they should only get a list of all categories that are its 'first-children'. Same with Showers... I only want to show its child categories. Then eventually, when a user clicks 'Shower Systems', then and only then, do I want to show products within that category. (I hope I've made my explanation clear).

I am pretty sure I have setup my product hierarchy correctly. Now how do I make the above work with the products tag / parameters and templates.

Re: products module hierarchy help needed.

Posted: Wed Mar 04, 2009 3:14 pm
by tyman00
You have setup your Hierarchy correctly if it looks like that in your admin. It is a matter of modifying your Hierarchy Template and using the proper css/javascript to get the menu to expand and collapse correctly.

Re: products module hierarchy help needed.

Posted: Fri Mar 06, 2009 4:34 am
by tphuocthai
I can setup the hierarchy as I want and I can show them up. But the other question is how can I show the breadcrumb as in the hierarchy?

Re: products module hierarchy help needed.

Posted: Fri Mar 06, 2009 3:08 pm
by tyman00
Products doesn't use the same content type as our pages do, so they will not show up in the breadcrumbs. You will have to do some fancy work with the hierarchy template to get that to work. Look at the default template and strip it down for your needs.