In the past I have added a few products that might benefit from being in 2 or more categories (such as ornate brass buttons that could go into 'spares' and into 'accessories') but I've taken the option of keeping it simple with 1 just category for each item.
Due to new products being added, this situation is about to get to a point where I am missing some opportunities for interesting/useful categories by limiting each product in this way - such as 'German' (which would include German lederhosen and their specific spares and accessories) and Austiran (which would include Austiran lederhosen and their specific spares and accessories)
I have the method for associating more than 1 category per product, but I can't settle on an option for setting the breadcrumbs at the top of the 'detail' page.
Here are my options, as I see them.
- Just show the 'default' breadcrumb trail, no matter where they came from (and rely on the user to hit the back button to return to the category they chose)
- Show all the possible breadcrumb trails for each product, one above the other
- Use cookies (or some other method) to remember the last category viewed and only show that breadcrumb trail
- Show all the possible breadcrumb trails for each product, one above the other, but use cookies (or some other method) for moving the last viewed category to the top
I've seen all of these used on professional sites, so I'm not sure which way to go.
I think I like option 3 the best, but that then raises the question of which method to use - I'm programming in PHP so I would prefer the $_SESSION variable, but is that what you would use? Why/why not? GET would be easy but would create pseudo-new-pages messing up my stats.
Thanks in advance, any input is appreciated.









