Automatic Mega Menu for Magento 2
- Compatibility
- 2.4.9, 2.4.8, 2.4.7, 2.4.6, 2.4.5, 2.4.4, 2.4.3, 2.4.2, 2.4.1, 2.4.0, 2.3.7, 2.3.6, 2.3.5, 2.3.4
- Hyvä theme
- Hyvä compatible
Description / Automatic Mega Menu for Magento 2
MAGENTO 2 · CATEGORIES · DESKTOP MENU · LUMA AND HYVÄ
Build a clear megamenu from Magento categories.
Kowal Megamenu
Present your catalog in columns or under a PRODUCTS button. The menu uses the store category structure, while custom links lead to collections, sales, and other important pages.
1–6 columns · Custom links · Optional Hyvä adapter
HOW IT WORKS IN PRACTICE
01 · Organize categories
Set the order, active status, and visibility in the menu.
02 · Choose a navigation variant
Configure columns, levels, and custom links.
03 · The customer uses the menu
On desktop, they explore the catalog; on mobile, they use native navigation.
What does your store gain?
Explore the module features, use cases, and settings.
A megamenu that uses the Magento category structure
Kowal Megamenu turns the category tree into a clear, multi-column desktop menu. The module uses the current store categories, their order, active status, and visibility.
1–6 columns
Adjust the layout to match your catalog. Level 1 is clickable, level 2 is visible, and level 3+ can open in a submenu.
Custom links
Add links to sales, new arrivals, collections, the blog, or contact — before or after the categories.
Luma + Hyvä
The module works with Luma and includes an optional adapter for the standard Hyvä desktop menu. On mobile, native navigation remains in place.
Key features
- automatic generation from Store View categories,
- layout from 1 to 6 columns,
- optional levels 3+,
- custom links and CSS classes,
- configuration by store view,
- fallback to native navigation after disabling the module,
- mouse and keyboard support.
Compatibility: Magento 2.4.6+, PHP compatible with the Magento version (minimum 8.1). Custom headers or breakpoints may require integration adjustments.
Three menu variants
In Stores → Configuration → Kowal → Megamenu, choose Native, Megamenu, or PRODUCTS — category list and megamenu. The native variant keeps the theme menu without the module custom links.
The PRODUCTS variant opens a vertical list of main categories and a submenu on the right. You can set the button label and align the bar to the center, left, or right per Store View.
Categories and custom links
The menu respects the root category, order, active status, and Include in Menu. Categories under a hidden parent are not shown. Column headings remain clickable, and deeper levels can be enabled as a submenu.
A custom link has a URL, text, optional CSS classes, and a position before or after the categories. Relative paths use the store base URL; classes require custom styles. In the PRODUCTS variant, all additional links appear after the button.
Luma and Hyvä support
The module and adapter switch are disabled by default in the configuration. On Luma, enable Enable Megamenu. On Hyvä, also enable the Kowal_MegamenuHyva adapter and Enable Hyva Adapter in the appropriate view.
The adapter keeps the standard Hyvä desktop bar and replaces the content of supported category panels. Native mobile navigation remains unchanged; the module additional links apply to desktop.
Keyboard, breakpoints, and adjustments
The menu supports opening with a button, hover, Tab, Enter/Space, ArrowDown, Escape, and clicking outside the panel. The category link does not lose its function of navigating to the page.
Luma uses desktop from 768 px, while Hyvä keeps the theme bar breakpoint. Custom headers, older monolithic templates, and Hyvä Commerce Menu Builder require a separate integration. B2B category access rules also need to be taken into account during implementation.
Configuration and cache refresh
After changes, clear config, layout, block_html, and full_page cache. The menu uses category tags and is cached together with the page in FPC/Varnish.
Disabling the module restores the native renderer. Additions to the menu tree from other extensions in Luma are not automatically moved to the megamenu; check the required items before publishing.
Installation via Composer
Package kowal/module-megamenu, module Kowal_Megamenu. After configuring access to the Kowal repository, install the package, enable the module, update Magento, and clear cache. In production, include compilation and static content deployment according to your store process.
From configuration to results
1. Organize categories
Set the order, active status, and visibility in the menu.
2. Choose a navigation variant
Configure columns, levels, and custom links.
3. The customer uses the menu
On desktop, they explore the catalog; on mobile, they use native navigation.
Example: catalog under the PRODUCTS button
The main bar contains a button that expands a vertical category list. Their submenu opens on the right in columns, while links to promotions and contact appear next to the button.
Make it easier for customers to enter the right part of your catalog.
Want to adapt the module to your store? Ask about Kowal Megamenu implementation and discuss the configuration or required extensions.
More Information
| Hyvä theme | Hyvä compatible |
|---|---|
| Theme compatibility | Hyvä, Luma / Blank, KOWAL |