Questions tagged [menu]
Denotes questions about Menu creation, management and modification.
361
questions
0
votes
0
answers
46
views
Mega Menu not working
in my ecommerce Mega Menu seems not working.
The error message is: "an error has occurred while generating this content." See below.
Can I fix it from back-end?
Magento version is 2.4.5.
...
0
votes
0
answers
28
views
How can I show custom attribute value as menu item label in magento 2?
I have created a custom attribute for menu title on category add/edit page in my magento 2 setup. I want to show the value of the attribute saved in database instead of the category title on main menu....
2
votes
1
answer
753
views
Magento 2.4.4-p2 Open menu subcategories only on click
I'm trying to make Magento menu open categories only on click and disable hover function. It opens subcategories but once you open a subcategory it doesn't collapse and you can't expand a different ...
0
votes
2
answers
146
views
Magento2 admin Menus not working
I have installed Magento2 successfully but there is having some issue on the backend side when i login to the admin side menus not working at all, (frontend is working fine). I have tried all the ...
0
votes
1
answer
203
views
Magento 2.4.3 3rd level menu items on mobile devices using Porto theme
The appearance of the menu on mobile devices in Magento 2.4.3 using Porto theme is :
with the 3rd level menu expanded by default.
Is there a way to make the 3rd level menu collapsed by default? ...
0
votes
1
answer
375
views
Restrict access to some categories for not logged in customers
What's the best approach for restricting access to some categories and products in those categories on front-end for not logged in customers.
we need to hide category from the menu and catalog search, ...
1
vote
0
answers
35
views
New admin submenu using other baseurl
I've used the official devdoc site tutorial, for doing my own submenu page in the M2 backend.
Everything is working, I see the menu slot, I can open it and have a HelloWorld showing.
But the baseUrl ...
0
votes
1
answer
558
views
Magento 2.4.3 not showing mega menu
Magento 2.4.3 is not showing the Mega Menu navigation. If I inspect the page, I get a "esi:include" tag instead of the menu. I have been following the extension guide here https://...
0
votes
2
answers
26
views
Reusing vs Redefining System Config Tabs, Menus and ACL Resources
When we want to create a system config we add section items in the system.xml file. In these sections we specify a tab. That tab needs to also be defined. There is a possibility that a tab is already ...
2
votes
2
answers
1k
views
How to Add a Link to the Top Menu in Magento 2?
I am want to know how to add programmatically a new link (to the main top menu in the header) with a submenu.
How to achieve that, via XML or via (PHP) plugin?
Thanks in advance.
0
votes
1
answer
1k
views
Admin Grid wont show and getting "Request validation failed for action" error in debug
I was trying to create an admin grid in the adminhtml trying to learn how they function and work and I ran into an issue following this guide: Mageplaza. I've been trying to debug where the issue is ...
0
votes
2
answers
443
views
How to show all categories under the static text in frontend Menu in MAgento2
How to display all categories under the static text in frontend Menu in Magento2
Example: We have 3 categories created in admin and displaying like below in frontend
Menu 1 Menu 2 Menu 3
We need to ...
0
votes
0
answers
28
views
custom ui form on menu click?
I'm try to add a form on menu click and it doesn't works. Can anyone knows??
<menu>
<update id="FME_Extensions::fmeextensions"
title="FME Extensions"
module="...
0
votes
2
answers
1k
views
Add custom link to top.links section
I have a top. links in default.xml in my theme, I need to add the custom link above My Account, but the link is always at the bottom, how I can move to the top if sortOrder not working?
<page xmlns:...
1
vote
1
answer
99
views
Magento menu with submenu
I added my code to my custom header phtml:
<?php
$objectManager = \Magento\Framework\App\ObjectManager::getInstance();
$catId = 2;
...
0
votes
0
answers
321
views
How to change HTML of Menu in Magento 2.4.2 Claue Theme?
I want to change some HTML in Magento 2.4.2 Claue theme.
Like when I add 12 subcategory the design is not good it will add subcategory one below other so it will not looking good. I want to add ...
0
votes
0
answers
67
views
Show All The Available Subcategory and Their Nested Subcategories in Menu in Magento 2
I have done all the required settings but still it's not showing on the front end.
I am getting result like this. I want to show all the nested subcategory in the menu. Please help.
0
votes
0
answers
119
views
how to remove an item from menu navbar?
"Removing unnecessary item from top nav-menu"
Earlier for testing I'd added category called blog new and then i deleted it but now its still visible but it doesn't have any class and its ...
0
votes
1
answer
408
views
Magento 2.3 - How to move menu ( catalog.topnav ) after logo ( header.panel )?
I have created a custom which is inherited from the blank theme, I want to move my menu ( catalog.topnav ) after the logo ( header.panel ) ?
0
votes
1
answer
161
views
How are you supposed to navigate the mobile menu with the keyboard?
I am working on fixing Magento accessibility issues to bring Magento 2 up to meet WCAG 2.0 AA. The mobile menu seems impossible to me to navigate with the keyboard. I can open up top level items ...
0
votes
2
answers
210
views
I want to show the topmenu only when logged in
I want to show the topmenu only when a customer is logged in and I need to use the FPC.
When I try to retrieve the customer id with function to create a if statement to see if the customer is logged ...
0
votes
1
answer
304
views
Magento2 Page jumps to top when click Menu Icon on mobile
How to Stop the top menu bar scrolling up the page in website
I have same issue facing like below website but I am using Porto theme and I have checked with default luma theme this issue also coming ...
1
vote
1
answer
1k
views
How to add new custom sub menu in Sales Admin Menu?
I'd like to add a new submenu called as Deliveries below Transactions submenus. In what kind of way I can achieve this ?
Thank you in advance.
0
votes
0
answers
32
views
Programatically set selected option of select
I have a form which defines this field
$subMenuType = $fieldset->addField(
'mega_sub_content_type',
'select',
[
'label' => __('Submenu Content'),
...
0
votes
1
answer
590
views
Magento2 add submenu in the top navigation menu
I need to add submenu in top navigation menu
I am using below code but it is adding in top & not sub menu.
$menu = $observer->getMenu();
$tree = $menu->getTree();
$data = [
...
0
votes
1
answer
287
views
Re-direct Category Menu item to different URL
I want to redirect my Menu sub item to a different URL how can I do that?
Like Blog Menu Item to
Dropbox.com
I want the Blog menu to be redirected to : a seperate URL to new website for example: www....
0
votes
1
answer
217
views
categories are not shown in menu
I am in Magento 2.3.4,
I have added a main category to the root, but the menu does not show me in the front-end of the e-commerce
In the image it is shown that the category is enabled to be shown in ...
0
votes
0
answers
259
views
Magento 2 Adminhtml add a custom table
I want to add a table here
Like the one in customer -> edit. I figured out how to create it (in system.xml):
<system>
<tab id="example_tab" sortOrder="10">
<label>MYModule</...
0
votes
3
answers
2k
views
Cannot read property 'bind' from copy of mage/menu.js
I am trying to create a custom menu in Magento 2, but I run into the following browser console error when I add the JavaScript file for it.
main.js:27 Uncaught TypeError: Cannot read property 'bind'...
1
vote
1
answer
3k
views
Add custom menu links only to mobile menu layout
I am using Magento 2.2.2 and I am trying to add some custom menu links to magento in the mobile menu layout.
I tried adding a custom block with menu links by referring catalog.topnav block
default....
0
votes
1
answer
88
views
Magento1.9 - List of all in stock product brands to main menu
I have listed all brands to the main menu using below code and it gives all available brands.
$attributeId = Mage::getResourceModel('eav/entity_attribute')->getIdByCode('catalog_product','brand');
...
1
vote
3
answers
2k
views
Magento2.3: How to add a new menu link in My Account page?
I want to add a new menu link in My Account page. Please see the below screenshot:
I want to add a new menu after to the menu link, Newsletter Subscriptions. In order to add the new menu and its ...
0
votes
1
answer
224
views
after installing extension megamenu the site does not come back
I am in this world but I like to learn.
i have a website in magento 2
(http://www.contornodamoda.com.br) ... it was cute until I decided to install an extension whose name is easy megamenu now I have ...
2
votes
0
answers
80
views
How to display all submenu in Magento 2?
I want to display level0 and level1 of menu in the same line like in photo:
Any help please ?
Thanks
3
votes
0
answers
91
views
How to create a swipe megamenu for mobile view?
I have created a custom module for Megamenu. In desktop view it looks good and working fine. In mobile view, I want to implement a functionality but I'm not sure how to do that.
The functionality ...
0
votes
2
answers
918
views
Magento2: How to override menu.xml?
I want to add a new custom menu above the Views in the custom module.
I am creating a custom report.
Can anyone please suggest?
1
vote
2
answers
1k
views
Magento2.3: How to get sub category for parent category?
I have installed Magento2.3.2 EE on local. I have seen that the default category menu is not working correctly so that we want to load category and subcategory collection at top menu position with our ...
1
vote
2
answers
1k
views
Magento 2 : Missing Account Links in mobile view
I am not getting how the contents of my account links are not displaying when viewed as mobile format. You can see in the image there is no links under account tab.
Here is my overridden default.xml:
...
0
votes
1
answer
920
views
Add Menu Item in Luma
How can I add a Menu item in Magento 2 default Luma Theme ?
1
vote
0
answers
80
views
How to Create mobile and Desktop menu same Magento 1.9? [closed]
I am installing One Theme of Magento 1.9 and in this theme have mobile
and the desktop menu was Different. Please anyone Can Help me how I
can do the same.
Website: http://nn.packparadise.com
...
2
votes
1
answer
442
views
Magento 2.3 cache menu on homepage
I met this case sometimes on Homepage.
The menu was cached when I return Homepage from another category page.
Does anybody here have idea and solution for that?
Thanks
0
votes
1
answer
75
views
ios Safari - Click on level 0 category menu would cause the background page shifted up unexpectedly
I found an issue that occurs with iphone and iMac using Safari, running on Magento v2.3.1
Steps to reproduce the problem:
1. Visit webpage with iPhone/iMac with Safari browser
2. Tap on Responsive ...
0
votes
0
answers
53
views
Category Menu Missing from homepage after upgrade
I have upgraded Magento from 1.9.2.0 to 1.9.4.2 through Magento connect manager.
The upgrade process went successfully and everything loaded fine except the Category Menu from the Homepage. The ...
3
votes
3
answers
854
views
Open Admin Menu Item in New Tab
I have a custom module and created etc/adminhtml/menu.xml
I want to open my menu item in new browser tab.
Is there any option available in magento to achieve this/set target="_blank" ?
Any help ...
2
votes
1
answer
220
views
How to translate string on mobile menu?
Simple question, how to translate string "settings" on mobile menu?
0
votes
1
answer
27
views
2 Contact Pages, need to remove one [closed]
I have a Contact Us page within the main menu in my site:
https://staging.propmasters.net/
The main menu links to https://staging.propmasters.net/contactus.html
Where can I edit this content? I've ...
0
votes
1
answer
58
views
Custom css issue with menus
I am using magento 1 and I am trying to set up my menu to have sub menus that are in columns, not one long list.
This is what css code I'm currently using is
.jewelry {
float: left;
width: 33.33%...
2
votes
2
answers
522
views
Magento 2: CSS is not loading only in admin menu
I am having some strange issues. Css is not loading only for the menu in admin side. Apart from that, everything is working fine.
All js and css are unmerged
Page source
I've tried these commands
...
3
votes
1
answer
737
views
Magento 2 - Different menu for Mobile theme
I have new custom theme that has default menu. I need to build mobile menu separately.
I can do it easily by media query (CSS) but I don't think this is a good approach to hide desktop menu from ...
1
vote
1
answer
377
views
How to create custom menu in Magento admin panel? System>configuration>Custom
How to create custom menu in Magento admin panel system > configuration >