This question has been flagged
1 Reply
1961 Views

Hallo, could anyone please point me in the direction for writing a module with customizations to the menu structure like: 

  • adding new menu items (top-level too)
  • translating single menu items (without recurring to classic translation methods)
  • change groups assigments

In a very rough example, it could be a replacement for menu "Sales": 

  1. "My Sales" that inherits "Sales"
    • "CRM" instead of "Sales", and visible to managers only
      • "Clients" instead of "Customers"
  2. Hide "Sales" menu

Thanks in advance

Avatar
Discard
Best Answer

Simply open sale_view.xml in sale module, look for all <menuitem ... lines

Write your own module containig xml file wich defines new menuitems...
Top level items has no parent_id , everything else is simple copy/paste /modify to your needs...

Avatar
Discard
Author

thank you