Category permissions

Adobe Commerce feature {width="20"} Exclusive feature only in Adobe Commerce (Learn more)

Category access can be limited to specific customer groups, or restricted entirely. You can control the display of product prices, and determine which customer groups can add products to the cart, and specify the landing page.

NOTE
Category Permissions has a global scope and when enabled, restricts access to each category according to its individual permissions. By default, Category Permissions is not enabled.

For example, if you sell only to wholesale customers, you can allow anyone to browse the catalog, but display prices and allow purchases only for shoppers in the Wholesale customer group. In the following example, only logged in users have access to the “Collections” category. For guests, the “Collections” option doesn’t appear in the main menu.

Logged-in users see "Collections" category {width="600" modal="regular"}

When enabled, a new Category Permissions section appears on the Category page that allows you to apply the needed access for each category. You can add multiple permission rules to each category for different websites and customer groups.

Step 1: Configure category permissions

IMPORTANT
All existing group permission settings are ignored by all categories in the catalog when the Shared Catalog feature is enabled. Shared Catalog fully controls all category permissions in the catalog when it is enabled.
  1. On the Admin sidebar, go to Stores > Settings > Configuration.

  2. In the left panel, expand Catalog and choose Catalog underneath.

  3. Expand Expansion selector the Category Permissions section.

    Category Permissions {width="600" modal="regular"}

    For a detailed list of these options, see Category Permissions in the Configuration Reference.

  4. Set Enable to Yes.

  5. Complete the other options according to what you want to allow or restrict on your store (see following sections).

  6. When complete, click Save Config.

  7. When prompted to update the cache, click the Cache Management link in the system message and follow the instructions to refresh the cache.

Allow Browsing Category

This option applies to all categories in the website.

To allow members of a specific customer group to browse through category products, do the following:

  1. Set Allow Browsing Category to Specified Customer Groups.

  2. In the Customer Groups box, select each group that is allowed to browse through products in the category.

    To select multiple groups, hold down the Ctrl key (PC) or the Command key (Mac) as you click each group.

    Allow Browsing by Wholesale Customer Group {width="600" modal="regular"}

To restrict access and redirect to a landing page, do the following:

  1. Set Allow Browsing Category to No, Redirect to Landing Page.

  2. Choose the Landing Page where visitors are redirected.

    Redirect to Home Page {width="600" modal="regular"}

    note note
    NOTE
    Although the Allow Browsing Category setting applies to all categories in the website, you can configure a different landing page for each store view.

Display Product Prices

This option applies to all categories in the website.

To allow only members of specific customer groups to see the price of products in the category, do the following:

  1. Set Display Product Prices to Yes, for Specified Customer Groups.

  2. In the Customer Groups box, select each group that is allowed to see the price of products in the category.

    To select multiple groups, hold down the Ctrl key (PC) or the Command key (Mac) as you click each group.)

    Only Wholesale customer group can see prices {width="600" modal="regular"}

Allow Adding to Cart

This option applies to all categories in the website.

To allow only members of specific customer groups to put category products into the shopping cart, do the following:

  1. Set Allow Adding to Cart to Yes, for Specified Customer Groups.

  2. In the Customer Groups box, select each group that is allowed to add products from the category to the cart.

    To select multiple groups, hold down the Ctrl key (PC) or the Command key (Mac) as you click each group.

    Only Wholesale customer group can put product in cart {width="600" modal="regular"}

Set this option to prevent members of a specific customer group from using Catalog Search. It applies to all categories in the website.

  • To allow only logged in customers to use Catalog Search, select NOT LOGGED IN.

  • To allow only specific customer groups to use Catalog Search, select each group to be excluded from using Category Search.

    To select multiple groups, hold down the Ctrl key (PC) or the Command key (Mac) as you click each group.

    Catalog search not allowed for General customer group {width="600" modal="regular"}

Step 2: Apply category permissions

  1. On the Admin sidebar, go to Catalog > Categories.

  2. In the category tree, select the target category.

  3. Expand Expansion selector Category Permissions on the page and do the following:

    • To create a permissions rule, click New Permission.

      Category Permissions Section {width="600" modal="regular"}

    • Choose the applicable Website and Customer Group.

    • Set the individual permissions as needed.

    note note
    NOTE
    When Browsing Category = Deny permission is set for any parent category, it is not displayed on the Breadcrumb Trail on the child category page.
  4. When complete, click Save.

NOTE
If any Allow permissions are set for the Root Category, then these permissions are automatically applied to all subcategories and all products within the Catalog. If any product is assigned to multiple categories, and it has any Allow permissions for at least one category, it automatically has the same Allow permissions for all assigned categories.
recommendation-more-help
af062d56-f22c-4537-813d-bedf8b92a071