Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Limit Category Navigation to Two Levels
 
dan_w
Sr. Member
 
Total Posts:  290
Joined:  2008-01-04
 

I was wondering if its possible to limit the header navigation display to only two levels. We have active 3rd+ categories, but in order to keep the navigation clean, we would like to limit it to the top two. We want to keep the 3rd/4th level cats active so that they can be called directly from content blocks. Any insight on how to accomplish this would be greatly appreciated.

Thanks,
Dan

 
Magento Community Magento Community
Magento Community
Magento Community
 
Daim
Sr. Member
 
Total Posts:  172
Joined:  2008-01-08
Germany
 

You can Edit this in the File
“app/design/frontende/default/default/template/catalog/navigation/top.phtml”

Edit $this->getStoreCategories(10)
to $this->getStoreCategories(2) or $this->getStoreCategories(3)

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