top navigation menu not displaying in my magento. I refreshed cache and made reindexation. I followed many links and made all the possible options provided from the links. Still it's not showing menu.
-
Have you assign root category to your store?– DomainCommented Aug 5, 2014 at 6:42
-
ya. I assigned.– saravanaveluCommented Aug 5, 2014 at 6:43
-
1Are all the categories you created, are the sub-categories of root?– TBI InfotechCommented Aug 5, 2014 at 7:08
-
2Its basically the navigation but if you have any category extension or menu extension it may have been rewritten by extension, just try to uninstall extension one by one, or simply changing theme to default to check if its the bug in theme– TBI InfotechCommented Aug 5, 2014 at 10:07
-
1Good to know it worked, just posted it as an answer– TBI InfotechCommented Aug 5, 2014 at 12:29
4 Answers
I found the below rewrite code in one extension,
<catalog>
<rewrite>
<navigation>Modulename_Block_NavigationTop</navigation>
</rewrite>
</catalog>
<page>
<rewrite>
<html_topmenu>Modulename_Block_NavigationTop</html_topmenu>
</rewrite>
</page>
I removed the extension, now it's working correctly.
-
A theme I downloaded a while ago caused the same error. Thanks for pointing out. After removing it, the menu came back. Commented Apr 30, 2017 at 2:45
-
Could you please share how did you know that what caused the issue. Wha search techniques did you use. Thanks. Commented Sep 24, 2017 at 6:21
You have any category extension or menu extension it may have been rewritten by extension, just try to uninstall extension one by one, or simply changing theme to default to check if its the bug in theme
Can't use comment due to reputation sadly...
But, have you set the category's on "active" and (more important) on "include in Navigation Menu*"?
-
I set category's on active. include in Navigation Menu also enabled. Commented Aug 5, 2014 at 9:00
-
Does the menu work when you use the Magento default template?– GrayleBVCommented Aug 5, 2014 at 9:10
-
-
Not really clear: it is not working in the default template?– GrayleBVCommented Aug 5, 2014 at 9:38
I found an option:
System > Configuration > Category > Category top navigation > Enable Mega Menu
By default this option is set to 'yes' and apparently requires a (mega menu) plug-in to display the top level menu. Setting this option to 'no' generates standard HTML UL/LI code which can then be picked up by a framework like bootstrap to display a top level menu. This of course requires that you rewrite the code in topmenu.phtml for your template allowing it to be specified in the desired format.