Hide Products by User Role for WooCommerce lets you control product visibility for different user roles — including guests — without coding.
You can:
- Hide specific products, product categories, or all products from selected user roles.
- Apply global rules in WooCommerce > Settings > Products > Hide by User Roles.
- Hide products even in search, archives, and single product pages.
- Support for variable products — manage visibility per variation.
-
Use custom targets (extendable via filters).
Perfect for:
-
Wholesale / Retail pricing separation
- B2B stores hiding retail items
- Private or membership stores
- Logged-in users only stores
Features
- Hide products for guests or specific user roles
- Global visibility rules via WooCommerce settings
- Role-based taxonomy and product filtering
- Compatible with WooCommerce product queries
- Hide single product pages if restricted
- Hide variation products
- Extendable via WordPress filters
Upload the plugin folder to /wp-content/plugins/ or install it from the WordPress Plugin Directory.
Activate the plugin through the Plugins menu in WordPress.
Go to WooCommerce > Settings > Products > Hide by User Roles.
Add rules to hide products or categories for specific user roles.