2

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.

13
  • Have you assign root category to your store?
    – Domain
    Commented Aug 5, 2014 at 6:42
  • ya. I assigned. Commented Aug 5, 2014 at 6:43
  • 1
    Are all the categories you created, are the sub-categories of root? Commented Aug 5, 2014 at 7:08
  • 2
    Its 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 Commented Aug 5, 2014 at 10:07
  • 1
    Good to know it worked, just posted it as an answer Commented Aug 5, 2014 at 12:29

4 Answers 4

3

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.

2
  • 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
2

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

1

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*"?

4
  • 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?
    – GrayleBV
    Commented Aug 5, 2014 at 9:10
  • menu not work works even using default template Commented Aug 5, 2014 at 9:30
  • Not really clear: it is not working in the default template?
    – GrayleBV
    Commented Aug 5, 2014 at 9:38
1

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.