Setting Up WooCommerce Product Visibility by User Roles

Configuring Product Visibility Based on User Roles

Allowing Search Engines to Crawl

Go to WooCommerce > Products Visibility > General Settings to configure the plugin’s general settings.

Allow Search Engines to Index: Permit search engines to index and rank products, categories, and other pages. 

Showing/Hiding Products for All Customers

Go to WooCommerce > Products Visibility > Global Visibility to configure the visibility of products globally.

Enable Global Visibility: Checkmark to enable products to all registered and non-registered users

Show/Hide: Select whether you want to show or hide products from users

Select Products: Select products on which you want to apply the global visibility settings

Select Categories: Select categories on which you want to apply the global visibility settings

Redirection Mode: Choose a redirection mode for restricted items from the two options:

  • Custom URL
  • Custom Message

Custom URL: Add a custom URL to redirect when a user tries to access the restricted catalog

Custom Message: Add a custom error message to display when a user tries to access the restricted catalog

Concealing Products by User Roles

Go to WooCommerce > Products Visibility > Visibility By User Roles to configure the visibility of products based on user roles.

The available user roles are:

  • Administrator
  • Editor
  • Author
  • Contributor
  • Subscriber
  • Customer
  • Shop manager
  • Wholesale
  • B2B
  • Retailer
  • Guest

When selecting a desired user role, you will see the following options:

Enable for this Role: Checkmark to enable products to this specific user

Show/Hide: Select whether you want to show or hide products from the user

Select Products: Select products on which you want to apply this functionality

Select Categories: Select categories on which you want to apply this functionality

Redirection Mode: Choose a redirection mode for restricted items from the two options:

  • Custom URL
  • Custom Message

Custom URL: Add a custom URL to redirect when the user tries to access the restricted catalog

Custom Message: Add a custom error message to display when the user tries to access the restricted catalog