Questions tagged [menu]

Denotes questions about Menu creation, management and modification.

Filter by
Sorted by
Tagged with
0 votes
1 answer
26 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, ...
user avatar
1 vote
0 answers
23 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 ...
user avatar
  • 11
0 votes
0 answers
16 views

Change main menu top based on user data

I need to alter all the top menu from my website based on a user data filled when the user is registered. "Casual" users will are using "root" category, excluding "new menu&...
user avatar
0 votes
1 answer
43 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://...
user avatar
  • 1,417
0 votes
2 answers
22 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 ...
user avatar
1 vote
2 answers
67 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.
user avatar
0 votes
0 answers
8 views

Control access on menu link

I have the following link on my menu Home Categories New Arrivals Deals About US How I can hide "Deals" link from the menu, if the customer not logged in yet?
user avatar
  • 103
0 votes
1 answer
419 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 ...
user avatar
  • 71
0 votes
2 answers
74 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 ...
user avatar
0 votes
0 answers
23 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="...
user avatar
  • 188
0 votes
1 answer
44 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:...
user avatar
  • 57
0 votes
0 answers
37 views

Mobile Menu Issue

View All Button in Menu in Mobile Site is not working on my magento 2 site. It's returning https://website.com/undefined. The button is working fine on the desktop version. Can anyone help fix it?
user avatar
1 vote
1 answer
28 views

Magento menu with submenu

I added my code to my custom header phtml: <?php $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $catId = 2; ...
user avatar
  • 57
0 votes
0 answers
176 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 ...
user avatar
  • 526
0 votes
0 answers
33 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.
user avatar
0 votes
0 answers
21 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 ...
user avatar
0 votes
1 answer
193 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 ) ?
user avatar
  • 103
0 votes
1 answer
101 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 ...
user avatar
0 votes
2 answers
66 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 ...
user avatar
0 votes
1 answer
159 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 ...
user avatar
1 vote
1 answer
587 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.
user avatar
  • 147
0 votes
0 answers
20 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'), ...
user avatar
  • 727
0 votes
1 answer
230 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 = [ ...
user avatar
  • 3,426
0 votes
1 answer
100 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....
user avatar
0 votes
1 answer
27 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 ...
user avatar
0 votes
0 answers
95 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</...
user avatar
0 votes
3 answers
1k 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'...
user avatar
  • 4,613
1 vote
1 answer
2k 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....
user avatar
0 votes
1 answer
71 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'); ...
user avatar
  • 21
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 ...
user avatar
0 votes
1 answer
137 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 ...
user avatar
2 votes
0 answers
73 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
user avatar
  • 21
3 votes
0 answers
71 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 ...
user avatar
  • 460
0 votes
2 answers
601 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?
user avatar
  • 1,729
1 vote
2 answers
643 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 ...
user avatar
  • 460
1 vote
2 answers
808 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: ...
user avatar
0 votes
1 answer
529 views

Add Menu Item in Luma

How can I add a Menu item in Magento 2 default Luma Theme ?
user avatar
  • 694
1 vote
0 answers
55 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 ...
user avatar
  • 61
1 vote
1 answer
278 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
user avatar
  • 63
0 votes
1 answer
56 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 ...
user avatar
0 votes
0 answers
49 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 ...
user avatar
  • 3
3 votes
3 answers
555 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 ...
user avatar
  • 2,313
2 votes
1 answer
135 views

How to translate string on mobile menu?

Simple question, how to translate string "settings" on mobile menu?
user avatar
  • 119
0 votes
1 answer
24 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 ...
user avatar
0 votes
1 answer
34 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%...
user avatar
2 votes
2 answers
219 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 ...
user avatar
3 votes
1 answer
490 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 ...
user avatar
1 vote
1 answer
288 views

How to create custom menu in Magento admin panel? System>configuration>Custom

How to create custom menu in Magento admin panel system > configuration >
user avatar
1 vote
1 answer
851 views

level 2 menu is not collapsing on mobile (Magento 2.3 Parent theme-Luma)

I have created a three-level menu using Magento Admin It works great on desktop. But the third level menu is not collapsing on mobile view. Please check the image. Yellow highlighted links are the ...
user avatar
  • 11
1 vote
2 answers
631 views

How to add sub menu items - more than one child in one parent for menu item?

I have a custom menu on the dashboard, and I need to group the items through the parent item in the menu, as shown in the attach. Thanks My custom menu.
user avatar
  • 738

1
2 3 4 5
8