How to Hide All Categories By Default and Show Them Only for Specific Customer Groups?

How to Hide All Categories By Default and Show Them Only for Specific Customer Groups?

By default, Magento shows all categories to all customers. Nevertheless, with the help of our Customer Group Catalog module, you may hide all categories and show only specific ones to your selected customers.

To achieve the desired result, two rules need to be created in Customers > Customer Group Catalog > Rules:

Rule 1: A global rule with the lowest possible priority (e.g., priority 0). This will serve as the default hiding mechanism, ensuring all categories are hidden from every customer by default. Use these settings to create the global rule and save it:
  1. Priority = 0;
  2. Customer Groups & Customer Conditions: leave empty or select the groups, which should not see categories by default;
  3. Hide Category = Yes.


Rule 2: An exception rule for specific customer groups, who should see products in your store. This time, set a higher priority (for example, 1) so that this rule took precedence over the default one. Use these settings to create it and make sure to save the rule:
  1. Priority = 1;
  2. Customer Groups & Customer Conditions: specify customers who should see categories;
  3. Hide Category = Yes (will tweak this in a moment).



Step 3: Once the second rule (for specific customers) is saved, reopen it and set the Hide Category = No option. This action ensures that the categories you previously selected are now visible for your specifies customers, while remaining hidden for all other ones due to the lower-priority rule.

We hope this step-by-step instruction helps you easily manage categories' visibility in your instance. Should you have any questions or require assistance, reach out to our support team - we're happy to help.