By default, Magento 2 shows the subcategories as main menu items .. but is there a way that also shows the children of these?
My idea is to have 3 categories, for example X,Y and Z (which are shown in the menu) but also have a category called "All Products" that is the father of the previous ones and to be able to filter them on the page of the same category All Products
@mauri_mono Can you please share the structure how you want to show categories on navigation.
Just share one example.
Thanks
@mauri_mono Then in that case i am expecting "All Products" will be the parent categoery of Category X,Y,Z
Am i right?
@mauri_mono Yes you can do that.
You have to do some customisation in the TopMenu.php file which is responsible for creating the html of navigation.
Thanks