- Summary
- The Resource: Products Visibility by User Roles extension allows users to hide products and categories from specific user roles and guests, providing options to show or hide products and customize error messages or redirects, while also offering global settings to hide products for guests and registered users, and the ability to control whether search engines can rank restricted pages.
The Products Visibility by User Roles extension lets you hide products and categories from specific user roles and guests, providing options to show or hide products and customize error messages or redirects, while also offering global settings to hide products for guests and registered users, and the ability to control whether search engines can rank restricted pages
1) Hide Products
With the “Hide” feature, you can choose to hide selected products and categories from specific user roles and guests. For example, if you choose to hide product A and category B from general customers, they will remain hidden for general customers only whereas the other users will be able to view them.
2) Show (Assign) Products
Instead of hiding, you can choose to “Show” i.e., assign products and categories from specific user roles and guests. By using this feature, you can limit the catalog visibility for any user role. No other products will be visible except the ones you have assigned them.
For example, If you choose to show product A and category B to wholesale customers, they will remain visible to wholesale customers only whereas all other products and categories will no longer be displayed. At the same time, by using the “global visibility” settings you can hide product A and category B from guests and all registered customers. This will make product A and category B explicit to wholesale user role only.
WooCommerce hide product
Show custom message or redirect to another link:
The extension comes with 2 different redirection modes that allow you to redirect users to another URL or show them a custom message. You customize different error messages and redirection links for different user roles.
Global settings to hide products for guests & registered users
You can hide products and categories from guests and registered users. This global WooCommerce hide product feature comes in handy when you want to hide your entire store or specific products from guests and all registered users irrespective of their user role.
Allow search engines to rank your pages
You can choose to allow/disallow search engines to crawl and rank your private products and categories that are restricted for guest users.
FAQs:
Can I hide the entire catalog from guest users?
Yes, you can hide the entire catalog from guest users.
Can I hide the complete category from guest users?
Yes, you can hide the category and its products. Please note the category links will may remain visible, however, when a restricted user will click on those, they will see the restriction message that the category is not available for them.
Can I show a specific product or category to retailers only and keep it hidden for everyone else? How do we do that?
Yes, You can assign a specific product or category to 1 or more user roles and keep it hidden for the other registered and guest users. See the documentation on how to do this.
The hidden products will no longer be visible in the shop, categories, and search result pages?
Yes, the hidden products will no longer be displayed in listing and search result pages. If a customer accesses it with a direct link, a custom error message will be displayed. However, in some cases, you might need to remove them manually from your menu.