Skip to content
Navigation & UI Extensions

Mega Menu for Magento 2, Multi-Level Dropdown Navigation

Build a custom menu from category, product, CMS page and custom links. Add useful dropdown content, organise the hierarchy and review desktop and mobile navigation with your store theme.

  • Free
  • Themes listed: Hyvä + Luma
Free $0.00, in stock
Check requirementsSee the versions and themes listed for this package. Details Ask about setupInclude the package name and your Magento and PHP versions. Ask
$0.00
In stock
SKU
panth-mega-menu
Links
composer require mage2kishan/module-mega-menu
SKU
panth-mega-menu
  • Package requirementsRead the source documentation
  • Developer profileView Upwork profile
  • Themes listedHyvä + Luma
  • PHP versions listed8.1, 8.2, 8.3, 8.4
  • Installation questionsDiscuss your store setup

What it does for your store

The main features, as listed in the module documentation.

  • Compose useful menus

    Combine category, product, CMS page and custom links with HTML content, widgets and separators.

  • Organise the hierarchy

    Arrange parent and child items, configure columns and set the storefront menu depth.

  • Choose store and group visibility

    Select the menu for each store and use item visibility controls for store views and customer groups.

  • Check desktop and mobile menus

    Review dropdowns, the mobile drawer and link destinations with your active header and theme.

Installation

Example commands from the Magento root. Follow the package instructions and your staging and deployment process.

  1. 1Check the releaseMatch Magento, PHP, theme and dependency requirements.
  2. 2Install on stagingReview Composer changes and follow the package instructions.
  3. 3Configure and verifyUse the documented settings and test the affected features.
magento-root
$ composer require mage2kishan/module-mega-menu
$ bin/magento setup:upgrade
$ bin/magento setup:di:compile
$ bin/magento setup:static-content:deploy -f
$ bin/magento cache:clean

Listed requirements

These are the details supplied in this listing. Confirm the selected release supports your Magento edition, PHP and storefront.

Magento versions listed2.4.6, 2.4.7, 2.4.8
PHP versions listed8.1, 8.2, 8.3, 8.4
Themes listedHyvä, Luma
Composer packagemage2kishan/module-mega-menu

Read package requirements and license

Documentation

Product details and setup guidance. Check the package repository for release-specific instructions.

Build navigation around the way people shop

Mega Menu gives you an admin-managed menu tree for a store that needs more than a list of category links. Put shopping destinations, useful pages and selected products together, then arrange the hierarchy so visitors can understand where each link leads.

Magento already builds navigation from the catalogue category structure. This module adds a separate menu composition layer, allowing your navigation to include destinations that do not belong in that category tree.

Supported menu item types include categories, CMS pages, custom URLs, products, HTML content, widgets and separators. Use category links for the main shopping paths, CMS pages for information such as delivery guidance and custom links for destinations outside the catalogue.

  • Arrange parent and child items in the admin builder.
  • Configure dropdown columns and the allowed menu depth.
  • Add images, icons and content where they help explain the destination.
  • Enable or disable menus and individual items as the navigation changes.

CMS content is processed through Magento's content filters for the active store. Treat menu HTML and widget content as editorial content: keep it concise, check the rendered result and avoid filling a dropdown with links that do not help the visitor choose.

Set up desktop and mobile behaviour

The package includes desktop navigation and mobile menu rendering. The configured mobile breakpoint applies to the Luma storefront; the included Hyva header switches below 1024 pixels. Check the mobile button, drawer, submenu controls and link destinations with your actual header and screen sizes.

Review the menu alongside announcement bars and other fixed header elements so navigation does not cover content or controls.

Manage visibility and theme integration

Menu selection uses the current store, and the item visibility logic includes store-view and customer-group checks. These controls determine which links are displayed; they do not replace access controls on the destination pages. Check guest and signed-in navigation separately if you use group restrictions.

The installed source includes separate Hyva and Luma templates and theme detection. That is a starting point for integration with those theme families. Custom headers, theme overrides and third-party navigation changes still need testing on the actual store.

Installation and maintenance

The package is mage2kishan/module-mega-menu. Version 1.0.23 requires mage2kishan/module-core ^1.0.17 and declares PHP 8.1 through 8.4 constraints alongside its Magento package requirements. Check the complete Composer dependency resolution for your Magento version before installing.

From the Magento root on staging, install with composer require mage2kishan/module-mega-menu. Check bin/magento module:status Panth_Core Panth_MegaMenu and enable those modules if needed before your normal upgrade, compilation and static-content deployment steps. Use bin/magento cache:clean after deployment.

In Admin, open Mega Menu > Menu Items under Panth Infotech to create and edit menus. General settings are under Stores > Configuration > Panth Extensions > MegaMenu. Check the configured menu identifier and store view against the menu you intend to display.

Build and review the menu in staging first. Walk through important destinations with a keyboard and on a narrow screen, check every link and confirm the intended store view sees the correct menu. After saving changes, clean the relevant Magento caches as required by your release process.

If you need help adapting the menu to a custom header or planning installation, contact Kishan. Installation and customisation services are separate arrangements; agree their scope and any fee before work starts.

Developer integration

Panth\MegaMenu\Block\Menu::getCurrentMenuTree() supplies the current menu tree to the renderer. The package includes Panth_MegaMenu::luma/menu.phtml and Panth_MegaMenu::hyva/menu.phtml templates. Review the active layout, theme overrides and existing header integration before adding another menu block.

Use the existing menu renderer for custom integrations, and check store-view selection, customer-group visibility and every link on staging. Menu visibility controls do not secure the linked destinations.

Read the package README and setup and usage guide, matching the instructions to your selected release.

More information
Module Category Theme & UI
Best For All Sizes

Changelog

  1. 1.0.0, Initial release

    • Drag-and-drop tree editor in admin with unlimited depth
    • Per-item properties: label, URL (manual / category / CMS page), icon (SVG or icon-font class), image, custom CSS class, target window
    • Multi-column dropdown layouts (1 / 2 / 3 / 4 columns)
    • CMS block injection, drop any CMS block into a dropdown column
Full history on GitHub

FAQ

Does Panth Mega Menu work on both Hyva and Luma?

The package includes Hyva and Luma templates and theme detection. Check your active header, theme overrides and mobile navigation on staging. Custom headers or navigation extensions may need integration work.

Can I build unlimited-depth menus?

Set Maximum Menu Depth to control how many levels appear on the storefront. Top-level items count as the first level. Keep important destinations easy to find and test the depth selected for your store.

Can I show a CMS block inside a dropdown?

Yes. Add CMS block content through the menu content settings. The renderer processes it for the active store; check the block's links, size and layout inside the dropdown on desktop and mobile.

Does it support different menus per store view?

Yes. Menus are resolved for the current store, and items have store-view visibility controls. Match the configured menu identifier and store assignments to the menu you want, then check each store view.

Will this slow down my store?

The effect depends on menu size, dropdown content, theme code and cache behaviour. Menu caching is included, but test page performance and menu updates with your real content before release.

Does it support keyboard navigation and ARIA?

The frontend includes keyboard controls and ARIA state updates. Test focus movement, submenu opening and closing, and screen-reader output with your final theme and menu content.

Does Panth Mega Menu replace Magento's native top-menu?

The module can remove Magento's native top-navigation blocks when enabled and the configured menu resolves. When enabled, its Hyva integration also removes the native desktop and mobile blocks when the module's Hyva menu block is present. Check your header on staging before enabling it, especially if another extension changes navigation.

Does the module use ObjectManager?

Yes. The preview block has an optional fallback that obtains its menu helper through ObjectManager. Review that integration point if your coding standards require constructor-only dependency injection.

Is the source code available?

Yes. The public source repository is mage2sk/module-mega-menu. Match the source version to the package installed on your store before using examples from the repository.

Does it work with multi-language stores?

Use store-specific menus and translate the menu titles and CMS content for each language. Check the destination URLs, text length and mobile layout in every store view. Merchant-authored content needs your own translations.

Kishan Savaliya

Questions before you install?

Send me your composer.json and I will check for conflicts first. Free. Installation is +$45, custom work is quoted first.

Ask on WhatsApp