Adding calalog to top menu
Hi
How can I add a Catalog tab in the top menu? this tab should be able to display all categories and subcategories. The same concept as the calatog menu in the sidebar.first, but in the top menu Thanks |
Re: Adding calalog to top menu
Juancho, This is not that hard to code for yourself, but I recommend the module here: https://www.x-cart.com/extensions/addons/horizontal-flyout-categories-menu.html
Save yourself lots of time and trouble! |
Re: Adding calalog to top menu
Thanks Mike, I wasn't aware of that module.
BTW thanks for all the videos you've uploaded. They are really useful. |
Re: Adding calalog to top menu
Hi
I bought and installed the module. It does pretty much what I wanted except that now ALL categories have their own tab in the menu. Would it be possible just to have one "Catalog" tab and that all categories and subcategories would be hanging from this principal tab? Thanks |
Re: Adding calalog to top menu
Hi I finally got the code to work. I can't guarantee that it will work in all cases but at least it did for me.
Overwrite QSL/HorizontalCategoriesMenu/body.tpl with this code Code:
{if:isSubtree()} good luck! |
Re: Adding calalog to top menu
I'm trying to do this on 5.3 but the code above doesn't work.
I've added a main "Shop" menu item to the template, and now just need to pupolate the UL with the categories. I've tried adding this code as copied from /skins/customer/categories/tree/body.twig but it's not working for some reason? I get an Internal Server Error Code:
<li class="leaf has-sub"><span>Shop</span> |
Re: Adding calalog to top menu
I don't think this is quite what you are looking for, but I used the Multilevel Primary Menu module for something like this. I added all of my menu items in a 'logical' order manually.
Up side, I didn't need to code anything, and I can configure any cat name or description I want, including subcategories. Down side, the menu is not dynamic so each menu item must be configured manually. You may like that, or you may not. Welly |
All times are GMT -8. The time now is 02:01 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.