Sharing is helping.

We offer you this space to share your knowledge about Magento and learn from our experienced customers.


    Home Forums Reply To: Limit the Number of Categories Displayed on Top Navigation Menu Reply To: Limit the Number of Categories Displayed on Top Navigation Menu

    #11213

    Anonymous

    @ Douglas Crosswhite:

    i got your point i had the same problem bu after tried diffrent things i manage to fix it, and its not from the admin its frop top.phtml

    go to :/app/design/frontend/default/yourtemplate/template/catalog/navigation/top.phtml
    edit this file so for exmple in my case i restrict the categories to 9

    This bit done the trick instead of 9 you can use 8 and it will restrict the categories to 8 in top menu but if you have vertical menu all categories will appear there it wont affect the vertical one .
    <?php if ($i>9): continue; endif; ?>

    Hope this helps

    Haroon