Important

Okay
  Public Ticket #1402971
sub menu limit
Closed

Comments

  • Ama started the conversation

    I have a menu with 1000s of categories, some going 6 categories deep. Is there a way to limit how many sub categories are displayed in the main menu (let's say 3), and display the rest in a left side menu once clicked?

  •  1,315
    Land of replied

    Hello Ama,

    Have a nice day!

    The megamenu are limit 8 levels of sub menu as default.

    You can import 1st level categories, then config dropdown main content with type = sub categories, choose the sub categories as menu items. It will auto get all level categories of parent category and show it as menu items. 

    If you want have other option, please take a screenshot to explain what you want.

  • Ama replied

    Hi,
    Thank you for your response. I believe you just answered my question (8 levels by default), does this mean that you can set the level to 3 so it only shows the 3 sub categories and display the rest in a page with a widget on the side or something?
    For example:
    Top Menu
    - Sub Menu1
    - - Sub Menu2
    - - - Sub Menu3
    If you click on "Sub Menu3", it displays a page with a widget with the rest of the categories (Sub Menu4, 5, 6, etc...) or whatever you put in that category/category page. Is this correct?

  •  1,315
    Land of replied

    Hello Ama,

    Have  a nice day!

    Yes, I mean you can create manually menu items with max 8 levels (it dont use catalog categories for menu item as default), we will create and design menu items by add one by one, so you can add 3 level menu items as you want, and on level 4 you create a widget content to load other sub categories as menu items, or use sub categories sub menu types as the guide: 

    http://guide.landofcoder.com/mega-menu/#document-12

  • Ama replied

    Thanks again for your quick response. Can the catalog categories be used with the megamenu? Problem I see now is that I have 1000s of categories that get imported with REST API and updated every week. Manual configuration one by one is not an option. That said...
    1. Can the catalog categories be used?
    2. Can catalog categories be limited to 3?
    or...
    3. Can I somehow use REST API to import categories into the megamenu?
    Thank you for your help.

  •  1,315
    Land of replied

    Hello Ama,

    The megamenu you just need to create main menu items (level 1 menu items, and some hot categories, promotion on sub menu items). Level 2, 3, 4, 5,6... we can use the option "sub categories" as child menus as our guide. So the child menu items can dynamic load categories, we dont need re import it again.

    The module dont support REST API to import categories into menu items. We will update it for next version.