BubbleMeda
BubbleMeda

Reputation: 1

Magento Layered Navigation - Hide Sub-sub categories

I'm currently developing a website for a client and I've hit a bit of a snag.

We're using FME Layered Navigation, which currently displays both sub & sub-sub categories of the parent category.

What we'd like is to just show the sub categories, then once that is clicked show the sub-sub categories.

e.g:

Root
  Cat1
    SubCat1
      SubSubCat1   /* Hide until SubCat1 is clicked */
      SubSubCat2   /* Hide until SubCat1 is clicked */
      SubSubCat3   /* Hide until SubCat1 is clicked */
    SubCat2  
      SubSubCat1   /* Hide until SubCat2 is clicked */
      SubSubCat2   /* Hide until SubCat2 is clicked */
      SubSubCat3   /* Hide until SubCat2 is clicked */
    SubCat3
      SubSubCat1   /* Hide until SubCat3 is clicked */
      SubsubCat2   /* Hide until SubCat3 is clicked */
      SubSubCat3   /* Hide until SubCat3 is clicked */

If anybody could point me in the right direction please? I've looked through the /app/code/local/FME .phtml files, but I can't see anything that decides the level of category to display.

Upvotes: 0

Views: 1672

Answers (2)

Saurabh Shrikhande
Saurabh Shrikhande

Reputation: 63

update your catalog.xml in your app/design/default/THEMENAME/layout/catalog.xml with this XML definition to remove the category filters from the left-layered navigation in Magento.

<reference name="catalog.leftnav">
<action method="unsetChild"><alias>category_filter</alias></action>

Upvotes: 1

MTM
MTM

Reputation: 919

Please go to

System >> Configurations >> Developer

then select the respective store view from Current Configuration Scope from top left drop-down. Then under Debug tab, enable the Template Paht hints and Add Block Names to Hints and save. Now reload your frontend where the navigation is displayed. you will find the proper .phtml and the block name that were used.

Upvotes: 0

Related Questions