I would like to ask about product category vocabulary and different page views for parent and child terms.
This is my use case: I have to build drupal 7 commerce based site, products are organised in taxonomy called "Product categories". Lets have these terms in here:
Category1
- Subcategory1-1
- Product1
- Product2
- Subcategory1-2
- Product3
Category2
- Subcategory2-1
- Subcategory2-2
- Product4
- Subcategory2-3
Category3
- Subcategory3-1
I need to make this behavior: Main category list page: contains list of main categories [Category1, Category2, Category3]
Main category detail page: after clicking on main category (e.g. Category1) and page contains list of child categories [Subcategory1-1, Subcategory1-2]
Child category detail page: after clicking on sub category item (e.g. Subcategory1-1) and page contains list of products [Product1, Product2]
so in general: if you click on category without products -> display child categories list of particular parent category, and if you click on category with products assigned to them display list of products...
I was googling for a while and I don't find the right solution for my use case.
Can anybody help me with this?