This is an info Alert.
x402 Logo
  • Product
    • Become Agent-Ready
      • Merchants
        Agentic Commerce — list your store across ChatGPT, Gemini, Claude & Perplexity
      • Publishers
        Monetize your content when AI agents read, cite, or train on it
      • SaaS Companies
        Treat AI agents as first-class customers with agent-priced checkout
    • Monetize
      • Monetize MCP Server
        Charge per call on any MCP server in 2 minutes
      • Monetize AI Agents
        Turn n8n, Zapier, Activepieces workflows into revenue
      • Agent Feed
        Pay-per-query access to licensed publisher content for your agents
  • Resources
    • xpay Ecosystem
      • xpay✦ Tools
        1,000+ pay-per-use tools for your AI agents
      • Agent-Ready SaaS Index
        25,481 SaaS scored on agent-buyability
      • SaaS Pricing Database
        Pricing pages indexed across 1,000+ categories
      • Shopify Apps Directory
        Every Shopify app, with its full review history
      • WooCommerce Plugins Directory
        Every WooCommerce plugin, scored on how well it is maintained
      • GitHub
        Open source repositories
    • Agent Building
      • Agent Frameworks
        AI frameworks for building multi-agent systems
      • x402 Integration
        AI frameworks with x402 payment integration
      • Networks
        Blockchain networks supporting x402
    • Company
      • About xpay✦
        Our mission, products, and protocols
      • Blog
        Latest insights and updates
      • Docs
        Complete xpay documentation
  • Pricing
  • Blog
  • Docs
Get Started
  1. xpay✦ Commerce

  2. Directory

  3. WooCommerce plugins

  4. Hide Products by User Role for WooCommerce

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.

10+ active installs
5.0
(1 ratings)
Free on WordPress.org
View on WordPress.orgSupport forum
Will this break my store?

What the WordPress.org registry says about keeping Hide Products by User Role for WooCommerce running.

WordPress compatibility
Tested to 7.0.2
Tested against the WordPress branch in use today.
Last updated
2 months ago
At least 5.4 releases a year since launch. WordPress.org only lists versions still available for download, so the real number may be higher.
Requires PHP
7.4
Your host must be running at least this version.
Requires WordPress
6.2
Requires other plugins
woocommerce
These must be installed and active first.
Contributors
1
A single maintainer. Worth knowing if the plugin is load-bearing for your store.

10+ active installsWordPress.org reports installs in bands, not exact counts.
Maintenance & trust

Scored on how Hide Products by User Role for WooCommerce is looked after — not on how many stores run it.

Well maintained
Not enough public feedback to put a confident number on this one. Little public feedback — score rests mostly on release activity. What we can see is below.

Maintenance
35 / 35
Updated 47 days ago.
WordPress compatibility
20 / 20
Tested to WP 7.0.2 (current).
Support responsiveness
Not enough data
Only 0 support thread(s) — not enough to judge.
Merchant satisfaction
10 / 15
5.0/5 across 1 rating(s).
Listing transparency
10 / 10
Provides: screenshots, description, homepage
1 of 5 measures had too little evidence to score. They are left out of the total rather than counted as zero — otherwise a plugin would be marked down for being small rather than for being poorly kept.Measured 2026-08-02 from the WordPress.org plugin registry.
Ratings

5.0

1 rating
5★1
4★0
3★0
2★0
1★0
Every rating WordPress.org holds for this plugin, not a sample. Written reviews live in the plugin's WordPress.org reviews forum.

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.

Live demo

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

Can I hide all products from guests?

Yes. Add a rule, set the role to Guest and the target to All Products. Unauthenticated visitors will see no products on the shop page, in search results, or on any product page — direct URL access redirects them to the login page.

Will hidden products be removed from search results too?

Yes. The plugin filters all WooCommerce product queries, including shop, category and tag archives, search results, and the WooCommerce REST API.

Does it redirect users who access a hidden product’s URL directly?

Yes. Guests are redirected to the WordPress login page (with a return URL so they land back on the product after logging in). Logged-in users whose role hides the product are redirected to the shop. You can override the redirect URL with the riaco_hpburfw_redirect_url filter.

Can I hide individual product variations?

Yes. Open a variable product, expand any variation in the Variations tab, and you will find a Hide by Role section with per-role checkboxes.

Does it work with WooCommerce HPOS (High Performance Order Storage)?

Yes. The plugin declares full compatibility with WooCommerce High Performance Order Storage.

Does it work with block themes and the WooCommerce block editor?

Yes. The plugin filters block-based product collection queries and replaces the “No products found” block with a relevant login or logout message when a global hide rule is active for the current user’s role.

Does it work with FiboSearch / DGWT WooCommerce Ajax Search?

Yes. Visibility rules are applied automatically to FiboSearch queries.

How does rule priority work?

Rules are evaluated from the top of the list downward. If an All Products rule matches the current user’s role, evaluation stops immediately — no lower rules are checked. Move higher-priority rules to the top using the arrow buttons. Rules with equal priority are evaluated in the order they were created.

Can I add custom targets such as custom taxonomies?

Yes. Use the riaco_hpburfw_targets filter to add any registered taxonomy as a target in the settings page dropdown.

Can I add rules programmatically or at runtime?

Yes. Use the riaco_hpburfw_visibility_rules filter to inject rules at runtime (useful for subscription-based or time-limited rules) without saving them to the database. Use riaco_hpburfw_rule_applies to add extra conditions on top of the base role match.

Is it compatible with membership or subscription plugins?

The plugin works with any user role that WordPress recognises. If your membership plugin assigns roles, those roles will appear in the settings automatically. Use the riaco_hpburfw_roles filter to expose non-role membership levels, and riaco_hpburfw_rule_applies to add time-based or subscription-status conditions.

Categories
Catalogue & variationsWholesale & B2B
Plugin details
Version1.1.1
Last updated2026-06-16 12:05pm GMT
Added2025-11-06
Requires WordPress6.2
Tested up to7.0.2
Requires PHP7.4

Tags on WordPress.org
hide products
product visibility
restrict products
user role
woocommerce
Alternatives
Other plugins in the same categories.
Variation Swatches for WooCommerce
300K+ installs
4.8(919)
Advanced Woo Labels – Product Labels & Badges for WooCommerce
10K+ installs
5.0(64)
Easy Auto SKU Generator for WooCommerce
10K+ installs
4.9(269)
PW WooCommerce Bulk Edit
20K+ installs
4.9(236)
PVT – Product Variation Table for WooCommerce
1K+ installs
5.0(49)
Custom Product Tabs for WooCommerce & WordPress Tabs Builder – Smart Tabs
10K+ installs
4.9(133)
x402 Logo

The agent-readiness stack for the AI shopping era — helping merchants, publishers and SaaS companies get discovered, cited and transacted with by ChatGPT, Perplexity, Claude, Gemini and the custom shopping agents underneath them.

CompanyAgentically Inc. (d/b/a xpay✦)1875 Mission St, Ste 103San Francisco, CA 94103, United Stateslegal@xpay.sh · privacy@xpay.sh
or ask your AI app
Company
About xpayAgency PartnersGitHubDiscordllms.txt
DevelopersDocumentationAPI ReferenceSDKs & LibrariesQuickstart GuideOpenAPI Spec
Stay Updated
Occasional product updates and agent-readiness playbooks from xpay (Agentically Inc.) — typically a couple of emails a month. Double opt-in: we email you a link to confirm before sending anything, and every email has one-click unsubscribe.
Social
  • For Publishers
    • News
    • Finance
    • Dev / Tech
    • Travel
    • View all verticals
  • Agent Feed
    • AI Search Engines
    • RAG Builders
    • Browser Agents
    • Vertical Research
    • Browse full catalog
  • Agent-Ready Index
    • SaaS Pricing Database
    • Agent-Ready SaaS Index
    • Verified band
    • AI & ML
    • Sales & CRM
  • Products
    • Pricing Widget
    • Monetize MCP Server
    • Paywall
    • Smart Proxy
    • Monetize AI Agents
    • xpay x402 Facilitator
  • Agentic Economy
    • Timeline
    • Resources
    • Manifesto
    • Stack
  • Agentic Commerce
    • Get listed
    • ChatGPT Ads
    • How ChatGPT Ads work
    • ChatGPT Ads · Apparel
    • ChatGPT Ads · Health & Beauty
    • xpay Listings · Amazon + Google
    • Pricing
    • Free audit
    • Shopify
    • WooCommerce
    • Apparel & Accessories
    • Health & Beauty
    • Overview
  • Commerce Index
    • Shopify apps directory
    • Agentic Commerce Ready Index
    • Methodology
    • Pet brands · WooCommerce
    • Pet brands · Shopify
  • Marketplace
    • 🛍️ xpay.deals — agentic storefront for deals
  • Protocols
    • Overview
    • x402
    • MPP
    • UCP
    • ACP
    • AP2
    • TAP
    • A2A
  • Agent Frameworks
    • Overview
    • LangChain
    • CrewAI
    • Claude MCP
    • AutoGPT
    • LangChain vs Mastra
    • LangGraph vs Pydantic AI
  • Company
    • About xpay
    • Blog
    • Docs
    • GitHub
  • Free prompts
    • Ecommerce prompts
    • Email marketing prompts
    • Product description prompts
    • Facebook ad prompts
    • Skincare prompts
    • Supplement prompts
    • Wine prompts
    • Electronics prompts

© 2025 Agentically Inc. All rights reserved.
Privacy PolicyTerms of UseAcceptable Use Policy