Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to determine breadcrumbs for products with multiple categories?

I have designed an e-commerce system whereby I have products which can belong to multiple categories. This works well for searching and browsing and allows users to find products more easily.

However, I have also implemented breadcrumbs on the product page, and I don't know how to determine which category the product should be shown as being in, seeing as it could be any of the categories that the product is in. Ideally I would prefer not to just select a category randomly.

Does anyone have any ideas? I would be grateful for only help!

Thanks, Nico

like image 267
Nico Burns Avatar asked Sep 11 '10 19:09

Nico Burns


1 Answers

How about having globally weighted categories based on what you want to promote the most at this time, or "local" weights on the product's categories based on what's more applicable to it. In either case if there's a conflict their weights can resolve it.

I'd go for the 2nd one. There will always be a way to choose a category that's more appropriate for a product.

like image 177
Fanis Hatzidakis Avatar answered Sep 21 '22 18:09

Fanis Hatzidakis