6

I would like to create a dummy submenu like the following without creating a category, since creating a category will result in a url. under the dummy submenu i will have real categories

 dummy submenu
 sports wear
 Golf equipments
 etc...
Gopal Patel
3,1392 gold badges17 silver badges32 bronze badges
asked Nov 23, 2014 at 17:59
1

3 Answers 3

2

this question answer is completely depand on the theme but I will give you answer as RWD theme.

you can directly change phtml file for this and add extra ul/li structure for your requirement. in rwd theme this file located in app/design/frontend/rwd/default/template/page/html/topmenu.phtml

for your custom theme you can enable template path hint from admin side and check from which file this menu is coming and change that phtml file directly.

Hope this will help you.

answered Oct 26, 2016 at 11:37
-1

Maybe the fastest way is to directly edit the html.The function that creates the top menu is in app/code/core/Mage/Page/Block/Html/Topmenu.php -> function getHtml. If you are using the new responsive web design theme (rwd) it loads app/design/frontend/rwd/default/template/page/html/topmenu/renderer.phtml and there is the whole html. If you are using the old/default theme it calls _getHtml function in the same file (app/code/core/Mage/Page/Block/Html/Topmenu.php) and there is the whole html. You can check if it loads renderer.phtml by checking if your theme has block with name="catalog.topnav.renderer" in the layout (by default it is layout/page.xml) or calls _getHtml if there is not.

answered Nov 23, 2014 at 19:46
-1

You need to a static block and call it in top menu within top menu nav loop as a parent li for ul

answered Apr 24, 2017 at 13:26

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.