I have 4 categories in the "Default Category" category. Currently, by default, Magento generates a nav header from the "Default Category" and displays 4 categories at the top of my site. The Products category is in the Default Cateogry. In the "Products" category are subcategories that I want to display in the top navigation bar.
Default Category:
- Products
- Featured Products
- Featured Products
- Applications
Setting up a product / category is what was given to me in this project, and this is what I want to do without redoing (since there are already several hundred products). If I started from scratch, the product / category setting would be different.
In app / code / core / Mage / Catalog / Block / Navigation.php, I found that the menu is created using the getStoreCategories() function, which apparently removes everything from the "Default Category" category.
So, I think that I am looking for 1 of 3 solutions:
Inside the Magento admin, you can choose which category to use to create the top menu.
Which function to use, not getStoreCategories , so I can specify the parent category and change app / code / core / Mage / Catalog / Block / Navigation.php
Or is this something that I can manipulate somewhere in the XML layout files along with the custom part of the template, if necessary.
Any suggestions would be greatly appreciated. Thank you in advance.
source share