I've got Ubercart installed and set up the taxonomy and everything fine. What I want to do is overwrite the some of the catalog default displays to show a list of combined child products rather than the child catagories.
I know I can to this by using views, but that doesn't fit into the default Catalog functionality and I'm hoping there may be an easier way to do it other than creating a custom menu as this would have to be manually created/updated.
Let me explain a little clearer... say I have these categories within my catalog:
- Clothing
- Shirts
- Trousers
- Shoes
When I go to 'Clothing' it shows a page with 'Shirts', 'Trousers', 'Shoes'... if I go to one of these it lists the products within them - that's fine.
What I want to do is add sub-category pages within those pages. For example:
- Clothing
- Shirts
- Long sleeve
- Short sleeve
- Trousers
- Shoes
- Shirts
That structure can be created, but rather than clicking on Clothing>Shirts and getting the 2 options of 'Long sleeve' and 'Short sleeve' showing I want to show a combined product list of all shirt products (short and long sleeve).
From there you could select just 'Long sleeve' from the catalog menu to show just those options (which is also fine with catalogs).
I thought I may just be able to go in an edit the catalog clean URL's so they point to the custom 'combined product' view. That didn't seem to work.
Any ideas would be appreciated.
Comments
Found the solution
It is in fact something that you can do by default with the Ubercart Catalog. When you set your product as a 'long-sleeve' shirt also select 'shirt' from the taxonomy options. This will then show your product on both the 'shirt' & 'long sleeve' shirt page.
Only problem is if you are using the 'show amount of products' option as it will double the amount of products below 'shirts'.
----------
Drupalden.co.uk - Drupal guides, hints, tips...