Magento for B2B Commerce, 2.2.x
Hidden Categories

There are many ways to use hidden categories. You might want to create additional categoryA set of products that share particular characteristics or attributes. levels for your own internal purposes, but show only the higher-level categories to your customers. Or, you might want to link to a category that is not included in the navigationThe primary group of web page links that a customer uses to navigate around the website; the navigation links to the most important categories or pages on an online store. menu.

To create hidden categories:

1. On the Admin sidebar, tap Products. Then under Inventory, choose Categories.
2. In the category tree, select the category you want to hide. Then, do the following:
a. Set Is Active to “Yes.”
b. Set Include in Menu to “No.”
3. In the Display Settings section, set Anchor to “No.”

The hidden category is active, but does not appear in the top menu, or in layered navigation.

4. Although the category is hidden, you can still create subcategories beneath it, and make them active. Complete the following settings for each hidden subcategory:
a. Set Enable Category to “Yes.”
b. In the Display Settings section, set Anchor to “Yes.”

As active categories, you can now link to them from other places in your store, but they will not appear in the menu.

5. When complete, tap  Save .