I thought I'd posted this to this forum, but now I can't find my post. If I'm repeating myself, my apologies.
I'm using ZC 2.01 and Fluorspar 1.8. No other plugins.
I'd like to add "New Products" and "Specials" to the dropdown menu under "Shop".
You can see it at https://zencart6.webdesign.place/
I've looked at tpl_mega_menu.php and believe this is the relevant section
Code:
<ul class="mega-menu "><!-- bof mega-menu -->
<li class="categories-li fullwidth"><a class="drop first_Item" href="#"><?php echo HEADER_TITLE_CATEGORIES; ?></a><!-- bof cateories -->
<div class="dropdown_expand ">
<div class="levels">
<?php
// load the UL-generator class and produce the menu list dynamically from there
require_once (DIR_WS_CLASSES . 'categories_ul_generator.php');
$zen_CategoriesUL = new zen_categories_ul_generator;
$menulist = $zen_CategoriesUL->buildTree(true);
$menulist = str_replace('"level4"','"level5"',$menulist);
$menulist = str_replace('"level3"','"level4"',$menulist);
$menulist = str_replace('"level2"','"level3"',$menulist);
$menulist = str_replace('"level1"','"level2"',$menulist);
$menulist = str_replace('<li class="submenu">','<li class="submenu">',$menulist);
$menulist = str_replace("</li>\n</ul>\n</li>\n</ul>\n","</li>\n</ul>\n",$menulist);
echo $menulist;
?>
</div>
</div>
</li><!-- eof categories -->
and I've looked at categories_ul_generator.php
but I can't work out where to put the items I want.
Thanks in advance!
Bookmarks