How does the menu tree work in the Mega Menu extension?

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 within the default Magento setup. It automatically displays all the categories and their respective levels as they have been structured in your Magento store. 

To make changes or introduce new categories and subcategories to the menu, simply head to the Catalog → Categories page in the default Magento configuration. Utilize the category tree block to implement your desired changes:



There's also a possibility to hide particular categories from the frontend menu. Please consult this article for instructions on how to achieve that: Is there a way to limit what items are displayed in the Mega Menu?

As a result, the menu will render the identical category structure:



Feel free to create as many category levels as needed; our extension will display all of them.

If the menu doesn't display subcategories for some reason, please ensure to review the article titled The child categories are not displaying in the menu. What might be the issue? for potential solutions. If the issue persists or you require further assistance, do not hesitate to contact our support team for additional help and guidance.

Custom Menu Items

Apart from the standard Magento categories, our Mega Menu extension offers the capability to include custom menu items that are not linked to Magento categories. Such items allow you to integrate personalized content such as internal and external links, icons, animation, custom item hierarchy, and more.




Such items are displayed along with the product categories:



You can access the feature in Content → Amasty Mega Menu → Custom Menu ItemsDetailed instructions on how to work with custom menu items can be found in our user guide
      • Related Articles

      • 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
      • 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 ...
      • Is it possible to disable the Hamburger menu on desktop devices?

        The Mega Menu extension's default behavior is to consistently show the Hamburger menu type for mobile menus. However, it can also be activated for desktop menus if the corresponding setting in Mega Menu Configuration is turned on: Put simply, when ...
      • 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 ...
      • 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 ...