0

I have a Drupal6/Ubercart setup. My products are categorised with taxonomy but we have a requirement that products can be placed into multiple category hierachies. For example, one product might be in:

Homeware
   Kitchens

and

Kitchens
   X Kitchen Range

The other requirement is that when displaying the product, the heading should show the breadcrumb of the hierachy as well as the category name. This would be dependent on how the user got to view the product. If they went through the menu Homeware > Kitchens, this would be the breadcrumbs/heading displayed and vice versa.

How could I achieve this?

  • And what if the user just types the URL? – Capi Etheriel Dec 8 '11 at 22:49
1

If you want a product to show up in multiple categories you simply enter all terms from the category vocabulary in the product edit mode. The hierarchy you need to build up in the menu system not in the vocabulary.

  • I just re-read my question, the first half is more just stating how we have it setup, the part im having trouble with is "when displaying the product, the heading should show the breadcrumb of the hierachy as well as the category name. This would be dependent on how the user got to view the product. If they went through the menu Homeware > Kitchens, this would be the breadcrumbs/heading displayed and vice versa." – Tim Oct 27 '11 at 21:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.