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:1.9.3.4
topmenu.phtml file
<?php
$_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>-->
</ul>
</nav>
here is my topmenu file.
1 Answer 1
You have to add a data-toggle of collapse type.
-
Hey Prince thanks for reply , I added
topmenufile , can you please tell me where to put condition for view more functionalityHarshil Parekh– Harshil Parekh2017年11月28日 05:15:11 +00:00Commented Nov 28, 2017 at 5:15 -
and also I want to view more link under brands->subcategory->subcategoryHarshil Parekh– Harshil Parekh2017年11月28日 05:16:33 +00:00Commented Nov 28, 2017 at 5:16
-
then I want to put view more linkHarshil Parekh– Harshil Parekh2017年11月28日 05:16:52 +00:00Commented Nov 28, 2017 at 5:16