Magento Forum

   
Catalogsearch - Only show lowest possible category in layered navigation
 
johmateboer
Jr. Member
 
Total Posts:  1
Joined:  2012-12-18
 

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:

Store
> 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:

Subcategory 2

...and not the categories above that one?

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top