The extension allows you to manage the main menu and adds the ability to create your own top menu. The top menu can be displayed for selected sections. Supported the built-in access control system in opencart to check access for links.
- Uses the event mechanism, works without injection into files.
- Does not replace the current menu, but picks up existing items.
- Doesn't affect performance.
-
Support for HTML code in the names of menu items.
-
Support for assigning JavaScript code to menu items*.
-
Assign FontAwesome icons to each item*.
-
Menu items are hidden if the current user does not have rights to view the contents of the section. The access control system built into OpenCart for sections is used ("System" > "Users" > "User groups").
-
Supports link generation by route.
-
$_GET variables, $this->config options in headers, links and JS as shortcodes.
-
The top menu can be displayed in selected sections.
-
In the top menu, you can create separators and group headers.
-
Ability to open links in a pop-up window.
-
For the main menu on the left, JavaScript, like icons, is only supported for first-level menu items. There is an ocmod file that solves this problem, the file is free, available upon request.
- OpenCart 2.3, 3.x, 4.x.
Admin
- https://menu-manager.shtt.blog/admin/ (auto login)
Catalog
The demo site has a top menu for quick navigation.
- Install the extension through the standard extension installation section.
- Go to the modules section and install the required module.
- The module is divided into 2 independent modules (main menu, top menu).
- In the right panel of both modules there are automatically scanned sections of your store, from this panel you can transfer ready-made menu items.
- When installing the main menu module, the module menu is automatically populated with the current main menu items.
- For the main menu, JavaScript, like icons, is only supported for first-level menu items. Icons built-in - FontAwesome.
- The top menu can be placed in selected sections of the admin panel by specifying the routes of the required pages, separated by commas, or on all pages if the route is left empty.
- Shortcodes can be used in titles, links and JavaScript code.
- Access to the $_GET variables of the current page [product_id], [module_id].
- Access to $this->config store settings [config|config_language_id].
- Generation of links to admin sections with token [link|catalog/product].
- CSRF token [token], [user_token]
I have decided to make all my OpenCart extensions free and open-source to benefit the community. Developing, maintaining, and updating these extensions takes time and effort.
If my extensions have been helpful for your project and you’d like to support my work, any donation is greatly appreciated.
Your support inspires me to keep improving and developing these tools. Thank you!