Is it possible to create a hierarchy within custom menu items?
With the Premium plan of the Mega Menu extension, it's possible to create a hierarchy within custom menu items. To establish a new custom item level, follow these steps:
Step 1. Go to Content → Amasty Mega Menu → Custom Menu Items and click on Add New Custom Item.
Step 2. Provide the necessary information about the new menu item, including its title, URL, icon, and other relevant details.
Step 3. Locate the Menu Position field and select one of the previously created menu items that you wish to associate with the new one. The menu item selected in this field will function as the top-level category for the newly created item.
Step 4. Set the Sort Order for the new item if needed.
Step 5. Save the configurations and flush caches.
As a result, the frontend menu will render the newly configured structure of custom menu items:
If you cannot locate the Menu Position and Sort Order settings, please ensure that you have installed the additional Mega Menu Items Tree package (amasty/module-mega-menu-items-tree). If necessary, execute the following command in the CLI:
composer require amasty/module-mega-menu-items-tree
Please feel free to visit the extension
product page to explore additional features offered by Mega Menu Premium and consider
upgrading your plan if it meets your requirements.
Related Articles
How does the menu tree work in the Mega Menu extension?
In simple terms, Mega Menu items can be categorized into two parts: the default Magento product categories and custom menu items. Categories When it comes to product categories, the Mega Menu extension mirrors the category hierarchy established ...
Is there a way to limit what items are displayed in the Mega Menu?
There are two possible options to exclude some categories from the menu. First one is disabling a category from displaying in the top menu individually with the setting Include in Menu. Or, in order to hide the subcategories block, it is necessary to ...
Mega Menu API
1. Amasty\MegaMenu\Api\LinkRepositoryInterface - class for managing links inside the menu: POST /V1/amasty_megaMenu/link, method="save" - create a link; PUT /V1/amasty_megaMenu/link/:entityId, method="save" - edit a link; DELETE ...
Mega Menu | GraphQL
Queries amMegaMenuTree description: get menu tree amMegaMenuAll description: get all menu items amMegaMenuWidget description: get information about the Amasty MegaMenu Products Widget
What features are included in each tariff plan of Mega Menu?
LITE Features: - sticky menu for mobile devices; - hamburger menu for categories; - custom menu items for desktop and mobile views; - menu builder; internal/external URLs for menu items; - labels for menu items; - color settings, - Hyva-ready ...