Customer Catalog Permission (M2) - How To - Add Customer Group Category Restrictions
How To Add A Customer Group Category Restriction
To create a new restriction, click on the Add New Restriction button above the list of restrictions available following CATALOG → Catalog → Catalog Permissions.
Select Restriction Type
Let's select the type Customer Group Category restriction and fill in the required fields. Once you choose the type, a more detailed description will appear below the type. You can customize the message in the General Settings.
All types of restrictions have three sections:
General - includes a status, redirect path and notification message.
User Selection - allows choosing customers or customer groups to limit access to.
Categories Selection - allows choosing categories (products or pages) to be hidden for the selected customers or groups.
Customer Group Categories Restriction
This type provides the following settings:
Is Active - to make the restriction visible for the customer group, enable the setting. If you need to disable the restriction, set it as Inactive.
Redirect Path - enter a path the user will be redirected to once the restricted category is selected. If you don't enter the path, the customer will be redirected to Homepage.
Notification message - allows entering a notification message visible for the user after redirection.
Group for restriction
By using this type you can select a customer group in the dropdown.
Categories - choose the categories that won't be visible for the selected customer group. You can add multiple categories in bulk.
Click the Save button to save the changes.
This is how the customer group categories restriction works on the Frontend.