How to Setup Products Visibility by User Roles for WooCommerce to Hide Products Smartly
Table of Contents
- Introduction
- What Is Products Visibility by User Roles for WooCommerce?
- Key Features of the Plugin
- Use Case Example: Show Product to Retailers Only
- Setup & Configuration for Products Visibility by User Roles for WooCommerce
- Bonus Use Case: Create a Private Catalog for Wholesale
- Best Practices for Using the Plugin
- Conclusion
Introduction
Running a WooCommerce store means serving different types of users. You might sell to wholesalers, retailers, or regular customers. You might not always want every product to be visible to everyone. That’s where product visibility by user role becomes very useful.
Imagine this: You have products for wholesale buyers only. You don’t want retail customers or guests to see them. Or maybe you have member-only items. You want to keep them private until someone logs in. WooCommerce does not offer this control by default.
Luckily, there’s a solution. Products and categories can be hidden or shown according to user roles with the Products Visibility by User Roles for WooCommerce plugin. Store owners now have complete control over what each kind of user can see. It helps you create a clean, focused experience for every customer group.
What Is Products Visibility by User Roles for WooCommerce?
This plugin is made by Addify, a trusted WooCommerce developer. It’s designed to manage who can see which products or categories on your site. You can show or hide content for:
- Logged-in users
- Guest users
- Specific user roles like “Wholesale,” “Retailer,” or “Subscriber”
Both B2B and B2C stores find it to be effective. If you need to control visibility for different customer groups, this plugin is the right fit.
Here’s what it lets you do:
- Depending on their position, hide products from specific people.
- Show products only to specific roles, and hide from everyone else
- Set visibility rules at both product and category levels
- Make a private catalog for members or wholesalers.
- Hide your entire shop from guests if needed
This plugin is ideal if you:
- Run a wholesale store and want products hidden from the public
- Offer exclusive products to logged-in users only
- Need to restrict product access by membership level
- Want to keep test products or drafts out of public view
The plugin operates right within your WooCommerce dashboard and is simple to use. It’s not necessary to hire a developer or know how to code. It supports most WooCommerce versions and other plugins built around roles and permissions.
Key Features of the Plugin
The Products Visibility by User Roles for WooCommerce plugin offers powerful features. These features help you manage who can view your store’s products or categories. A summary of the plugin’s capabilities is provided below.
Hide Products and Categories by User Role
The most fundamental and significant aspect is this one. Any product or category can be hidden from particular user roles.
For example:
- Hide wholesale items from guest users
- Hide premium products from regular customers
- Block out-of-stock items from all except admins
Once hidden, the products will:
- Not appear on the shop page
- Be removed from search results
- Stay invisible in product categories
This gives you complete control over what users see on the site.
Show (Assign) Products to Specific Roles
Instead of hiding items, you can also assign visibility to specific roles. This means only users with that role will see selected products. All others will not have access to them.
Here’s an example:
- Show a product only to users with the “Retailer” role
- Everyone else, including guests and other roles, won’t see it
This “show” feature is useful when creating exclusive product catalogs for:
- Wholesale customers
- Members
- Special customer groups
It works like a filter that lets only certain users in.
Global Visibility Settings
With global settings, you can apply rules to:
- All guests (not logged in)
- All registered users (regardless of role)
This helps when you want to:
- Keep your entire store hidden from users who aren’t logged in.
- Make the shop visible only to logged-in or verified users
- Keep selected items available to admins only
It’s a quick way to apply visibility settings without adjusting each role.
Custom Error Messages or Redirection
A blank page won’t appear when someone attempts to view a restricted product or category. You can either reroute them to a different website or display a personalized message.
Examples:
- A guest user tries to open a restricted product → show message: “Please log in to view this item.”
- A logged-in user without access → redirect to a subscription page
You can set different messages or links for each user role. This gives a better user experience and avoids confusion.
Search Engine (SEO) Control
You might want hidden products to stay private — even from Google. The plugin allows you to:
- Allow or block search engines from indexing restricted pages
- Keep exclusive content off search results
- Help public items rank, while keeping others private
This is useful if you’re running a members-only shop or a limited-time catalog. It helps manage what shows up in Google search results.
Use Case Example: Show Product to Retailers Only
Let’s look at a real use case. Say you want to make a product visible only to retailers. Here’s how this works with the plugin.
Step 1: Hide Product Globally
- First, go to the global visibility settings
- Hide the product from everyone (guests and all user roles)
Step 2: Show Product to Retailers
- Now go to the role-based settings
- Select the “Retailer” role
- Set the same product to “Show” for this role only
Now, only users with the retailer role can view the product. It won’t appear for guests, regular customers, or any other user type.
This setup is great for:
- B2B sellers offering wholesale-only items
- Stores with multiple customer tiers
- Exclusive or early product releases
Setup & Configuration for Products Visibility by User Roles for WooCommerce
The Products Visibility by User Roles for WooCommerce plugin is powerful but easy to use. We’ll take you through the entire setup in this section. This article will assist you in effectively applying visibility rules, regardless of your level of experience as a store owner.

Step 1: Install and Activate the Plugin
To start using the plugin, you need to install and activate it.
Here’s how:
- Log in to your WordPress admin dashboard.
- Go to Plugins → Add New.
- Click Upload Plugin at the top.
- Upload the plugin .zip file you downloaded from WooCommerce.com.
- Click Install Now, then Activate the plugin.
Once activated, a new menu will appear under WooCommerce.
You’ll find it at WooCommerce → Product Visibility.
Step 2: Understand the Settings Panel
The plugin’s settings are divided into three main tabs:
- Global Visibility
- Visibility by User Roles
- General Settings
Each tab controls different parts of the plugin’s functionality.
Let’s go through them one by one.
Step 3: Set Global Visibility Rules
This tab is used to control visibility for guests and all users.
It lets you quickly hide products or categories from:
- Not logged-in users (guests)
- All registered users, no matter their role
To hide products globally:
- Go to WooCommerce → Product Visibility → Global Visibility.
- Choose whether to hide products, categories, or both.
- Select the items from the dropdown menu.
- Choose which audience to hide them from:
- Guests only
- All registered users
- Create a personalized message that will appear when someone attempts to access content that is prohibited.
- Optionally, select a redirect URL instead of showing a message.
- Click Save to apply changes.
This is useful if you want to:
- Create a members-only store
- Hide your entire catalog from the public
- Keep premium items for logged-in users only
Step 4: Set Role-Based Visibility Rules
Depending on user responsibilities, you can display or conceal products and categories using this tab.
You can create visibility rules for any role, including:
- Customer
- Retailer
- Wholesale
- Subscriber
- Any custom role
To configure role-specific visibility:
- Go to Visibility by User Roles tab.
- Decide which user position you wish to oversee.
- Click Enable for this Role to activate role control.
- Choose one of the two visibility options:
- Hide: The selected items will be hidden from this role.
- Show: Only the selected items will be visible to this role.
- Pick the products or categories you want to apply the rule to.
- Click Save.
Example:
- If you select Show and assign Product A to the “Retailer” role:
- Retailers will see Product A.
- All other users (including guests) won’t see it.
- If you choose Hide, only that role can’t see Product A.
Pro tip:
- The Show option replaces the default catalog for that role.
- If you want users to see multiple items, make sure to select all of them.
- Otherwise, they will see only the ones you choose.
Step 5: Use General Settings for SEO Control
You may control search engine visibility with this tab.
You might want to stop Google from indexing categories or products that are hidden.
To change SEO settings:
- Go to the General Settings tab.
- An option to permit or prohibit search engines from accessing restricted pages will be displayed to you.
- Check the box to allow indexing, or leave it unchecked to block crawlers.
- Click Save to apply changes.
Why this matters:
- You might want to keep your private catalog hidden from search engines.
- If your goal is to rank public products, enable crawling for those only.
Step 6: Test Product & Category Visibility
After applying settings, you should test your store as different users.
Here’s how to do it:
- Open a guest session in a private/incognito browser window.
- Log in with different user roles to test visibility.
- Try accessing restricted URLs directly.
- Check if the correct message or redirect appears.
This helps ensure your settings are working as planned.
Bonus Use Case: Create a Private Catalog for Wholesale
Here’s a step-by-step example you can follow:
- Go to Global Visibility, and hide Product A from:
- All guests
- All registered users
- Then go to Visibility by User Roles, select “Wholesale” role.
- Enable the role and choose Show.
- Assign Product A to the role.
- Save the changes.
Now, only users with the “Wholesale” role will see Product A. Everyone else will be restricted.
Best Practices for Using the Plugin
The Products Visibility by User Roles for WooCommerce plugin gives you strong control. But to get the best results, it’s important to follow a few smart practices. These tips will help you avoid mistakes and create a better user experience.
- Plan Your User Roles Before You Start
Before setting visibility rules, define your user roles clearly. Know who needs access to which products. This helps you avoid confusion and errors later.
Here’s what to consider:
- Do you have wholesale and retail customers?
- Should guests be able to see the shop?
- Are there products for members only?
Planning ahead saves time during setup.
- Use the ‘Show’ Option Carefully
The “Show” setting replaces the full catalog for a user role. If you select just one product, the user will only see that one.
So, when using “Show,” be sure to:
- Select all categories or products you want visible
- Review the role’s catalog to make sure nothing is missing
If you test properly, you can easily correct this common error.
- Always Test as Different User Types
After setting visibility rules, test them using:
- A guest session (private browser window)
- A regular customer account
- Any special roles like wholesale or retailer
Try viewing hidden and visible products. Check if the right message or redirect appears. Testing enables you to identify problems before users do.
- Use Redirects to Guide Users
Instead of just hiding products, use the redirect feature. Redirect users to helpful pages like:
- Login or registration
- Upgrade plans
- Contact or help pages
This creates a smooth and professional experience.
- Be Mindful of SEO Settings
If you want private content to stay private, turn off search engine indexing. But if you’re hiding products only from users—not search engines—enable indexing for better ranking.
Conclusion
The Products Visibility by User Roles for WooCommerce plugin is simple but powerful. It’s perfect for store owners who want more control over who sees what.
You can:
- Hide products from guests
- Show items to select roles
- Create private catalogs
- Improve user targeting and conversions
With the right setup, your WooCommerce store becomes smarter, safer, and more focused. Whether you’re running a wholesale shop, a members-only store, or a hybrid model, this plugin makes role-based catalog control easy.
Need Help with WooCommerce or WordPress?
If you need expert help setting up this plugin or managing your store, our team at WooHelpDesk is here for you. We provide fast, friendly, and reliable WooCommerce and WordPress support to keep your site running smoothly.
📞 Call us now at +1 888 602 0119 (US & Canada)
Let’s take your store to the next level — together.

