davidwindell / magento2-menu

Provides powerful menu editor to replace category based menus in Magento 2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Packagist Packagist Packagist

Magento 2 Menu

Provides powerful menu editor to replace category based menus in Magento 2.

Setup

  1. Create new menu in the admin area Content > Elements > Menus.
  2. Add new block to the layout, using the same ID as in the admin area.
<block name="block-name" class="Snowdog\Menu\Block\Menu">
   <arguments>
      <argument name="menu" xsi:type="string">menu-id</argument>
   </arguments>
</block>
  1. Use created block in the template
<?= $block->getChildHtml('block-name') ?>

This module doesn't provide ready to use UI

Out of the box this module is not compatible with any theme, but in the same time you can use it with any theme, although you need to take care of the styling on your own.

You can use themes or extensions build on top of this module if you are looking for something taht works out of the box:

Docs

Please check wiki for more.

About

Provides powerful menu editor to replace category based menus in Magento 2

License:MIT License


Languages

Language:JavaScript 47.2%Language:PHP 39.8%Language:Vue 6.9%Language:Less 4.6%Language:HTML 1.5%