Hide Products by User Role for WooCommerce
Control WooCommerce product visibility by user role. Hide products, categories, and variations from guests or any role — no coding required.
Solid choice
Hide Products by User Role for… is a solid plugin choice in 2026, with a few things worth checking first. It runs on 60+ sites, is rated 5/5 and was last updated 2 weeks ago, and scores 74/100 on our health check.
- Actively developed — last update 2 weeks ago
- Small user base (60+ active installs)
- Very few reviews so far
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where Hide Products by User Role… stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| hide products | #10 |
| product visibility | #82 |
| restrict products | #17 |
| user role | #38 |
| woocommerce | >100 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 5 from 1 reviews
About Hide Products by User Role for WooComme…
From the official readme · v1.1.2Description
Hide Products by User Role for WooCommerce gives store owners complete control over product visibility based on WordPress user roles — including guests (unauthenticated visitors). Set global rules from the WooCommerce settings screen, or configure visibility per product and per variation, all without writing a line of code.
Whether you run a B2B wholesale store, a membership site, or simply want to keep certain products away from guests, this plugin enforces visibility at the query level so hidden products never leak through search, archives, the REST API, or direct URL access.
Why store owners choose this plugin
- Run B2B and B2C from a single store — keep wholesale and retail catalogs side by side and show each audience only what they should see
- Protect member-only or exclusive products — restrict visibility to subscribers, members, or any custom role
- Increase catalog relevance — show each user role a curated product set and reduce catalog noise
- Block guest browsing — require an account before any product is visible, turning your shop into a private catalog
- Zero performance overhead — visibility is enforced at the WordPress/WooCommerce query level, not as post-load filtering
Key Features
Global visibility rules (WooCommerce > Settings > Products > Hide by User Roles)
- Hide all products from a role with a single rule
- Hide products by category or tag per role
- Unlimited rules with drag-and-drop priority ordering
- Duplicate existing rules to create variations quickly
- Rule-count badge in the WooCommerce settings navigation
Per-product and per-variation control
- Dedicated “Hide by Role” tab on every WooCommerce product edit screen
- Select any combination of roles to hide that individual product from
- Full support for variable products: set visibility separately on each variation
Complete query coverage — hidden means truly hidden
- Shop page, category archives, and tag archives
- WordPress and WooCommerce search results
- FiboSearch (DGWT WooCommerce Ajax Search) compatibility
- WooCommerce REST API (with block-editor edit-context exemption so admins can still select products)
- Single product page redirect — guests are sent to the login page; logged-in restricted users are sent to the shop
- Block themes — replaces the “No products found” block with a role-aware login or logout prompt
Developer-friendly extensibility
- 20+ filters and actions covering every stage of the visibility pipeline
- Inject runtime rules (subscription-based, time-limited) without touching plugin files
- Add custom taxonomy targets, override redirect URLs, or map membership levels to roles
- HPOS (High Performance Order Storage) compatible
Perfect for
- Wholesale / B2B stores — hide retail products from registered wholesalers, or hide wholesale products from regular customers
- Membership and subscription sites — restrict premium products to paying members
- Private catalogs — require an account before any product is shown
- Tiered product access — show different product sets to different customer segments
Installation
Automatic installation
- In your WordPress admin, go to Plugins > Add New.
- Search for Hide Products by User Role for WooCommerce.
- Click Install Now, then Activate.
Manual installation
- Download the plugin ZIP from WordPress.org.
- In your WordPress admin, go to Plugins > Add New > Upload Plugin.
- Upload the ZIP file and click Install Now, then Activate.
First-time setup
Step 1 — Add a global rule
- Go to WooCommerce > Settings > Products > Hide by User Roles.
- Click Add Rule.
- Choose a User Role (e.g. Guest, Subscriber, or any custom role).
- Choose a Target: All Products to hide everything, Product Category to hide a category, or Product Tag to hide by tag.
- For category or tag targets, select the specific terms in the Terms column.
- Use the arrow buttons to set rule priority. Rules at the top are evaluated first; an All Products rule short-circuits all lower rules for that role.
- Click Save changes.
Step 2 — Hide an individual product (optional)
- Open any WooCommerce product in the editor.
- Click the Hide by Role tab in the Product Data panel.
- Check the roles that should not see this product.
- Click Update.
Step 3 — Hide a specific variation (optional)
- Open a variable product and expand the Variations section.
- Each variation has a Hide by Role section with per-role checkboxes.
- Check the roles to hide that variation from, then save.
Changelog
Fixes a conflict that could break the post/page editor (Yoast SEO metabox, permalink editing). Update recommended.
1.1.2
- Fixed a fatal error in the admin footer when another plugin returns a non-string value from the
admin_footer_textfilter, which prevented editor scripts (e.g. Yoast SEO metabox, permalink editing) from loading. - Hardened other filter callbacks against unexpected value types from third-party plugins.
1.1.1
- Fixed per-product hiding silently failing without global rules.
1.1.0
- Added Product Tag as a global rule target alongside Product Category.
- Added duplicate rule button in the global rules settings table.
- Added Priority column to the rules table and rule-count badge in the WooCommerce settings nav.
- Added Settings quick-link in the Plugins list for faster access.
- Added admin footer review prompt on the plugin settings screen.
- Added inline confirmation dialog on rule removal to prevent accidental deletes.
- Added empty-state message when no rules exist yet.
- Added 10+ new extensibility filters and actions for developer extension plugins.
- Added FiboSearch (DGWT WooCommerce Ajax Search) compatibility.
- Added block theme support: replaces the “No products” block with a role-aware login or logout message.
- Fixed visibility not applied to WooCommerce REST API product queries.
- Fixed variation hide rules not respected for authenticated users accessing products via REST API.
- Fixed text domain to match plugin slug.
1.0.0
- Initial release.
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best Hide Products by User Role fo… alternatives
All hide products plugins →FAQ
Hide Products by User Role for WooC…: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Hide Products by User Role for… free?
Yes. Hide Products by User Role for… is free to download and use from the official WordPress.org plugin directory.
Is Hide Products by User Role for… safe to use in 2026?
Hide Products by User Role for… is a solid plugin choice in 2026, with a few things worth checking first. It runs on 60+ sites, is rated 5/5 and was last updated 2 weeks ago, and scores 74/100 on our health check.
How many websites use Hide Products by User Role for…?
Hide Products by User Role for… is active on 60+ WordPress websites and has been downloaded 1,288 times since it launched in November 2025. It was downloaded 385 times in the last 30 days.
Does Hide Products by User Role for… work with WordPress 7.1?
Hide Products by User Role for… is officially tested up to WordPress 7.0.9, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does Hide Products by User Role for… need?
Hide Products by User Role for… requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Hide Products by User Role for… last updated?
The latest version, 1.1.2, was released on November 23, 2026 (2 weeks ago).
Who makes Hide Products by User Role for…?
Hide Products by User Role for… is developed and maintained by robertoiacono.
What are the best alternatives to Hide Products by User Role for…?
The most popular alternatives to Hide Products by User Role for… are Hide Posts (20K+ installs), Hide & Restrict Products by… (400+ installs) and Hide or Show Out-of-Stock P… (30+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card






