I want to (Magento ver. default menu in my other phtml file. how to call it? I want to display menu onclick

display on hover

closed as unclear what you're asking by Murtuza Zabuawala, Raphael at Digital Pianism, Qaisar Satti, Rakesh Jesadiya, 7ochem Feb 16 '17 at 12:08

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.


The menu is just a phtml file, so basically all you need to do is make sure you create a new block within you layout.xml to add this block there as well. Only thing you need to keep in mind is that you should give it a unique name and maybe call it within the parent's template file using $this->getChildHtml('my_menu_name');.

After that you might have to do some styling, because it might be that the menu is styled with selectors that are unique for the header or something.

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