I have "bizarre magento theme". theme have mega menu default.client want to add "view more" functionality in that. for better understand see below imageenter image description here

From Above image you can see brands category, client want to display 5-6 category in the sub category and "view more" functionality. If user click on "view more" than display all the category in the same way display like image.

Any Kind of help will appreciate. Magento Version:

topmenu.phtml file

$_menu = $this->getHtml('level-top');
$menuStatus = Mage::getStoreConfig('meigee_categoriesenhanced/options/status');
if ($menuStatus == 1) {
    $navAttr = 'class="nav-wide"';
else {
    $navAttr = 'class="nav"';

<nav class="nav-container">
    <ul <?php echo $navAttr; ?>>
    <?php echo $_menu; ?>
    <!--<li class="level0 nav-1 first level-top"><a href="<?php echo Mage::getBaseUrl();?>contact" class="level-top" style=""><span>Contact Us</span></a></li>-->
    <!--<li class="level0 nav-1 first level-top"><a href="<?php echo Mage::getBaseUrl();?>catalogsearch/result/?brand=25" class="level-top" style=""><span>Contact Us</span></a></li>-->

here is my topmenu file.


You have to add a data-toggle of collapse type.


  • Hey Prince thanks for reply , I added topmenu file , can you please tell me where to put condition for view more functionality – H_Parekh Nov 28 '17 at 5:15
  • and also I want to view more link under brands->subcategory->subcategory – H_Parekh Nov 28 '17 at 5:16
  • then I want to put view more link – H_Parekh Nov 28 '17 at 5:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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