Hide & Restrict Products by User Role for WooCommerce
Hide or restrict WooCommerce products and categories by user role or user. Private products for wholesale, B2B or members only.
Solid choice
Hide & Restrict Products by Use… is a solid plugin choice in 2026, with a few things worth checking first. It runs on 400+ sites, is rated 4.3/5 and was last updated 3 days ago, and scores 79/100 on our health check.
- Actively developed — last update 3 days ago
- Tested with the latest WordPress (7.1)
- Momentum — downloads up 86.1% vs the previous 30 days
- Small user base (400+ active installs)
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 & Restrict Products by… stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| hide products | #15 |
| private products | #12 |
| restrict products | #2 |
| user role | #46 |
| wholesale | #46 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 4.3 from 6 reviews
About Hide & Restrict Products by User Role f…
From the official readme · v0.9.4Description
Some products are not for everybody: wholesale prices for your B2B customers, customer-specific products made for one client, courses or services for members only. With this plugin you control the product visibility of any product or product category by user role or by user: choose who is allowed and decide what happens to everybody else. Hide products from them completely, or let them see the product but not buy it.
✅ Tested with WordPress 7.2 and WooCommerce 11.3
✅ HPOS compatible
✅ Cart and Checkout blocks compatible
✅ 100% free, no premium version, no locked features
🔒 Two restriction modes
- Hidden: only the users and roles in the list can see and buy the product. Everybody else does not find it in the shop, categories, tags, site search, the REST API or the Store API used by the cart and checkout blocks, and is sent to the home page if they open its link
- Visible but not for sale: everybody can see the product, but only the users and roles in the list can buy it. A good way to show your catalogue and keep some prices or products for registered customers
👥 Who can buy
- Users: pick customers one by one from a searchable list
- Roles: allow whole roles at once, such as wholesale customers, members or your own custom roles
- Visitors who are not logged in are treated like any user who is not in the list
- Administrators and shop managers always see and can buy everything
🗂️ Products and categories
- Set the restriction in each product, in a box below “Product data”
- Set it in a product category too: with the hidden mode, the category page is only open to the users and roles allowed
- Tick “Update to all the products in the category” to copy the same restriction to every product of the category in one go
- Variable products: the restriction of the product applies to all its variations
🛡️ No way around it
- Restricted products cannot be added to the cart, not even with a direct add-to-cart link
- Products already in the cart are checked again before checkout and removed if the customer is no longer allowed
- The same checks apply to the checkout block and the Store API
- Compatible with Ultimate WooCommerce Auction Pro: users who are not allowed cannot bid
💡 Ideas
- Wholesale or B2B: products that only the “Wholesale customer” role can see
- Products for one client: a quote, a custom product or a renewal that only that customer can buy
- Members only: courses, tickets or services for the users with a membership role
💬 What users say
“With this plugin I can do just that. Sheer greatness! Thank you!”
— tille, on making a subscription product that only its original client can renew“Good, simple and useful. Recommended.”
— seneca650“Thank you for including in the last update to apply the restriction in addition to products in the categories.”
— seneca650
More plugins by Codection
- Import and export users and customers (free): create your customers or change their roles in bulk from a CSV file, so you can give the “Wholesale customer” role to hundreds of customers at once and they see their products straight away
- Clean Login (free): login, registration and profile forms on your own pages, so your restricted customers log in without seeing wp-login.php
- Payment Schedule for WooCommerce Subscriptions: choose the start and end date of your subscriptions and show your customers when every payment will be charged
- Selling in Spain? RedSys, Bizum and Ceca payment gateways for WooCommerce and many other plugins
Installation
- Make sure WooCommerce is active
- Install Hide & Restrict Products by User Role for WooCommerce from Plugins → Add New, or upload the ZIP file, and activate it
- Edit a product. Below “Product data” you will find the box Users which can view and buy this product
- Enable it, choose the mode (hidden, or visible but not for sale) and pick the users and roles allowed
- Save the product. To restrict a whole category, do the same in Products → Categories and tick “Update to all the products in the category”
Log in as a customer who is not in the list, or open the shop in a private window, to check the result. Administrators and shop managers always see every product.
Changelog
0.9.4 – 2026-12-01
- Security fix: products in the “Hidden” mode could still be read by users who are not allowed by asking for them by ID in the Store API and the WordPress REST API (include, parent and related parameters). They are now removed from those queries too
- The variations of hidden products are no longer returned when a variation is selected through AJAX
- Faster check of the hidden products on each page: their users and roles are now read in a single query instead of one per product
- New name: Hide & Restrict Products by User Role for WooCommerce. Nothing changes in your settings or restrictions
0.9.3 – 2026-11-27
- Declared compatibility with the WooCommerce Cart and Checkout blocks. The restrictions already worked there (adding to the cart through the Store API and checking the cart before payment), but WooCommerce did not know it
0.9.2 – 2026-11-26
- Security fix: products in the “Hidden” mode are no longer listed or readable by users who are not allowed through the Store API, the WordPress REST API, site search or any other product query on the front end
- The single product routes of the Store API and of wp/v2/product return a 404 for hidden products, and oEmbed no longer shows them
- The hidden products are also left out of the variations queries and the WordPress sitemap
- Products excluded by other plugins in the same query are kept excluded
0.9.1 – 2026-11-25
- Fixed the “translation loading triggered too early” notice that version 0.9 showed with WP_DEBUG enabled
- The fields of the product box and the category, including the list of users, are now built only when they are shown, not on every page load
- Ready for WordPress 7.2
0.9 – 2026-11-25
- The users and roles lists of the product and the category take the full width of the box, also when they are empty
- The mode selector no longer sticks out of the product box, and its options explain each mode in fewer words
- The users list shows the name and the username of each user
- The texts of the product box and the category are now translatable
- Text domain changed to woo-products-restricted-users so translations from translate.wordpress.org are loaded
- Names in the users list are escaped
- Ready for WooCommerce 11.3.1
0.8
- Security fix: purchase restrictions are now applied to product variations and checked again when adding to the cart and before checkout (including Store API requests)
- Ready for WooCommerce 11.2
- Ready for WordPress 7.1.3
Screenshots
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 & Restrict Products by U… alternatives
All hide products plugins →FAQ
Hide & Restrict Products by User Ro…: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Hide & Restrict Products by Use… free?
Yes. Hide & Restrict Products by Use… is free to download and use from the official WordPress.org plugin directory.
Is Hide & Restrict Products by Use… safe to use in 2026?
Hide & Restrict Products by Use… is a solid plugin choice in 2026, with a few things worth checking first. It runs on 400+ sites, is rated 4.3/5 and was last updated 3 days ago, and scores 79/100 on our health check.
How many websites use Hide & Restrict Products by Use…?
Hide & Restrict Products by Use… is active on 400+ WordPress websites and has been downloaded 18,939 times since it launched in April 2019. It was downloaded 1,435 times in the last 30 days.
Does Hide & Restrict Products by Use… work with WordPress 7.1?
Yes. The developer has tested Hide & Restrict Products by Use… up to WordPress 7.2, the latest release. It requires WordPress 3.4 or newer.
When was Hide & Restrict Products by Use… last updated?
The latest version, 0.9.4, was released on November 30, 2026 (3 days ago).
Who makes Hide & Restrict Products by Use…?
Hide & Restrict Products by Use… is developed and maintained by Javier Carazo.
What are the best alternatives to Hide & Restrict Products by Use…?
The most popular alternatives to Hide & Restrict Products by Use… are Hide Posts (20K+ installs), Hide Products by User Role… (60+ 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
