Mobile app version of vmapp.org
Login or Join
Si4351233

: Recommended approach for implementing breadcrumbs I want to implement breadcrumbs on a website, now I'm struggling on how to best implement them. Users can search for products but can also navigate

@Si4351233

Posted in: #Breadcrumbs #WebDevelopment

I want to implement breadcrumbs on a website, now I'm struggling on how to best implement them.

Users can search for products but can also navigate to a product category to find a product. On a product page the user can click on a product category to find similar products. So the users has different paths to reach a specific product / page.

I think I have two options to implement breadcrumbs

Option 1:
Add every visited page to the breadcrumb. For example: Home > Search Results > product 1 > Category 2 > product 2
Disadvantage: breadcrum can become very long

Option 2:
Specify for every page a specific fixed breadcrumb for example: Home > category 1 > product 1
Issue: what to do with products that are in multiple categories?

What are you opinions? Is there option 3 that I have overlooked?

10.03% popularity Vote Up Vote Down


Login to follow query

More posts by @Si4351233

1 Comments

Sorted by latest first Latest Oldest Best

 

@Karen161

I have to disagree with the characterization of breadcrumbs in most of the answers because there is a difference (in my understanding) between categories or taxonomy (the nested hierarchy of categories that lead from most general to most specific e.g. Product Category > Product Sub Category > Product > Model or cars > sedans > chevy > impala > x5000 ) and the path through a website (I'm not talking about browser history, but a context-sensitive path).


If you were to search for four-door sedans and found a list of candidates then drilled down into one or more of those, it would be more important for you to ascend back to the list returned by the search result than to ascend the categories for whatever product you chose. (So, the example above might be "home > search > chevy impala x5000" rather than "cars > sedans > chevy > impala > x5000"


Using breadcrumbs to be a marker of where you've been is similar to choice 1 except you don't indefinitely add crumbs to the end because breadcrumbs are meant to be picked up to trace your path backward (and when you pickup a breadcrumb, all of the cumbs after that are removed because you've chosen a particular point in the path and will navigate from there.


If "breadcrumbs" are a category tree as some here have suggested, why do we call them "breadcrumbs"? My understanding of breadcrumbs is that they are path specific not model specific.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme