So here’s the thing: I have a shop up and running with a working layered navigation. My client requested that when a search is done, the lowest-possible category is shown. I’ll explain it with an example.
Let’s say I have this hierarchy:
> Category 1
> Subcategory 1
> Subcategory 2
The products found are in Subcategory 2. Whenever a search is performed, the layered navigation will show me in the “Shop by” the first category, Category 1.
Is it possible to show only the lowest category (the closest one to the product) in the navigation? So my “Shop by” will only show me:
...and not the categories above that one?