Skip to content

Latest commit

 

History

History
32 lines (27 loc) · 1.59 KB

README.md

File metadata and controls

32 lines (27 loc) · 1.59 KB

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.