Open the composer.json in the Magento 2 root folder add
{
"repositories": [
{
"type": "git",
"url": "https://github.com/afirlejczyk/magento2-easymenu.git"
}
]
}
Go to the ssh console at the Magento 2 root folder, next please enter the command line
composer require amf/magento2-easymenu
php bin/magento module:enable AF_EasyMenu
php bin/magento setup:upgrade
Navigation menu configurable from the Magento backend.
Stores > Configuration > General > Easy Menu > Enable Top Menu. You can enable options per Store View. By default menu is disabled.
For each store view you can create separate menu. You can change store view in to sidebar [screen]
- On the Admin Panel, Content > Easy Menu > Manage Top Menu
- Click on Add Main Menu Item/Add Sub Menu Item*
- By default new item is immediately available in store menu
- enter Name
- set Type: Category, CMS Page, Custom Link.
- set Parent
- set Priority
- click Save Item
- do all again if you need to create other item.
*Add Sub Menu Item button will be visible after adding first menu item.
You also can use drag&drop to rearrange menu items.
Checkout sample screens below for navigation menu.