-
Notifications
You must be signed in to change notification settings - Fork 9
Home
Magento does not have default Navigation structure except for output of Catalog tree. However, each project that is at least one step further from default Magento needs additional options for creating navigation tree e.g. adding links to CMS pages, adding links to non-catalog pages and keeping it all in hierarchy with active menu item highlighted, being able to set order for menu items, create several menus for one store and different menus per store view, etc. This extension addresses this needs.
As a site visitor, you will get convenient navigation. There can be different navigation blocks on the site, if necessary. As a store owner, you are able to create an unlimited number of navigation blocks per website or store, add menu items, set URLs for them, enable/disable, set CSS class, set the order of display. As a developer you will get easy to customize module, it does not have pre-defined strict front end design, so it is up to you how to render it, but you can choose several layouts: horizontal, vertical, or plain output.
After installation extension is available in Scandiweb -> Menu Manager, where you can add Menus, and once added, create menu items and set their hierarchy e.g. root level, or 2nd-3rd-4th-... level sub-menu item, where root level means menu item is shown on the top level.
- To create custom navigation, login into your Magento admin panel and navigate to Scandiweb → Menu Manager
- In order to create the new menu, please click “Add New Menu” button.
- In “General Information” tab, please add the following information: Menu Title, Menu Identifier (unique per store), Custom Menu CSS Class (optional), Menu Status, Store (one or multiple)
- Save particular menu in order to add new menu items. (click “Save” or “Save and continue” button)
- Once the menu is created, please proceed to “Assigned Menu Items” tab in order to add navigation items.
- Click “Add Item” button in order to add the new item to the particular menu.
- Please add the following information: Menu Item Title (label that will be displayed on front end), URL Type (select one: Custom URL / CMS Page / Category), Parent (level of menu item, root is the 1st level), Open Type (Same Window / New Window), Menu Item Status, Menu Item Sort Order. NOTE: In order to add Home Page URL, please use “Custom URL” type and “/” as Custom URL path.
- Click “Save”, you will see new item appearing in “Assigned Menu Items” tab
- Some layout update input is needed in order to replace main navigation with the newly created menu. In your theme’s default.xml please add the following (replace “identifier” parameter with your menu identifier):
Afterwards: Flush Magento Cache Enjoy, default Magento navigation was replaced with the newly created menu.