RIACO Hide Products by User Role

外掛說明

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.

常見問題集

Can I hide products only for guests?

Yes. You can create a rule with the “Guest” role and select which products or categories to hide.

Will this remove products from search results and archives?

Yes, hidden products are excluded from all WooCommerce queries (shop, category, tag, search, etc.).

Does it work with custom product types or taxonomies?

No, but you can extend it using filters to support any taxonomy.

Can I hide product variations?

Yes. Each variation can have its own visibility settings in the product edit screen.

使用者評論

2026 年 1 月 21 日 1 則留言
The plugin works perfectly and is highly configurable directly from the WooCommerce settings. It doesn’t add unnecessary items to the main menu, which is a big plus. Thanks, Roberto!
閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈RIACO Hide Products by User Role〉的開發相關工作。

參與者