Title: Product Roles Manager for WooCommerce
Author: Igor Radovanov
Published: <strong>3 Tháng 4, 2026</strong>
Last modified: 12 Tháng 6, 2026

---

Tìm kiếm plugin

![](https://ps.w.org/product-roles-manager-for-woocommerce/assets/banner-772x250.
png?rev=3498491)

![](https://ps.w.org/product-roles-manager-for-woocommerce/assets/icon-256x256.png?
rev=3498491)

# Product Roles Manager for WooCommerce

 Bởi [Igor Radovanov](https://profiles.wordpress.org/igorradovanov/)

[Tải về](https://downloads.wordpress.org/plugin/product-roles-manager-for-woocommerce.1.0.1.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/product-roles-manager-for-woocommerce/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/product-roles-manager-for-woocommerce/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/product-roles-manager-for-woocommerce/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/product-roles-manager-for-woocommerce/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/product-roles-manager-for-woocommerce/)

## Mô tả

Product Roles Manager for WooCommerce allows you to control which products are visible
to specific user roles. Perfect for wholesale stores, membership sites, or any WooCommerce
store that needs role-based product access.

#### Features

 * Restrict simple products to specific user roles
 * Restrict product variations individually by user role
 * Works with WooCommerce product queries, widgets, and shortcodes
 * Compatible with WooCommerce Blocks and REST API
 * Automatically hides restricted products from related products, upsells, and cross-
   sells
 * Redirects unauthorized users to 404 when accessing restricted products directly
 * Settings page with import/export functionality
 * Lightweight and performance-optimized with caching

#### Use Cases

 * Wholesale Stores – Show wholesale-only products to users with a wholesale role
 * Membership Sites – Display exclusive products to premium members only
 * B2B Stores – Restrict certain products to registered business customers
 * Staff Discounts – Show staff-only products to employees

### Configuration

#### Simple Products

 1. Go to Products then Edit Product
 2. Scroll to the Product Data section
 3. In the General tab, find Product Visibility by Role
 4. Select the user roles that should see this product
 5. Leave empty to show the product to all users

#### Variable Products

 1. Go to Products then Edit Product
 2. Navigate to the Variations tab
 3. Expand any variation
 4. Find Variation Visibility by Role
 5. Select the user roles that should see this variation
 6. Leave empty to show the variation to all users

#### Plugin Settings

Navigate to WooCommerce then Product Roles Manager to access:

 * Global settings configuration
 * Export settings to JSON file
 * Import settings from JSON file
 * Delete all plugin data

## Ảnh màn hình

[⌊Product visibility settings in the General tab⌉⌊Product visibility settings in
the General tab⌉[

Product visibility settings in the General tab

[⌊Variation-specific role restrictions⌉⌊Variation-specific role restrictions⌉[

Variation-specific role restrictions

[⌊Plugin settings page with import/export options⌉⌊Plugin settings page with import/
export options⌉[

Plugin settings page with import/export options

## Cài đặt

 1. Upload the plugin folder to the /wp-content/plugins/ directory
 2. Activate the plugin through the Plugins menu in WordPress
 3. Ensure WooCommerce is installed and activated
 4. Edit any product and find the Product Visibility by Role settings in the General
    tab

## Hỏi đáp

### Does this plugin require WooCommerce?

Yes, WooCommerce must be installed and activated for this plugin to work. An admin
notice will appear if WooCommerce is not detected.

### What happens when a restricted product is accessed directly via URL?

The plugin redirects unauthorized users to a 404 page when they try to access a 
product they do not have permission to view.

### Can I restrict individual variations differently?

Yes, each variation can have its own role restrictions independent of other variations
or the parent product.

### Does this work with WooCommerce Blocks?

Yes, the plugin is fully compatible with WooCommerce Blocks including the Products
block, Product Collection block, and other product-related blocks.

### Will restricted products appear in search results?

No, restricted products are filtered from all WooCommerce queries including search
results, category pages, and shop pages.

### How do I show a product to all users?

Simply leave the role selection empty. When no roles are selected, the product is
visible to everyone including guests.

### Does this affect the REST API?

Yes, the plugin filters products in WooCommerce REST API responses based on the 
authenticated user role.

## Đánh giá

![](https://secure.gravatar.com/avatar/3fa449e01e5070941c07d39ff528c15a9c23d3a6d6bb6d7f997adac3f9315c9f?
s=60&d=retro&r=g)

### 󠀁[Exactly what we needed](https://wordpress.org/support/topic/exactly-what-we-needed-78/)󠁿

 [Andjela](https://profiles.wordpress.org/andjelaa/) 10 Tháng 4, 2026

Product visibility by user role can now be configured in no time. Works like a charm!
Highly recommended!

![](https://secure.gravatar.com/avatar/c1f5f8cb4f132f98e62dea841dcbab22237a27bae7f620ddee5d784f071d1c46?
s=60&d=retro&r=g)

### 󠀁[Excellent experience](https://wordpress.org/support/topic/excellent-experience-37/)󠁿

 [Nemanja Markovic](https://profiles.wordpress.org/nemanja2911/) 6 Tháng 4, 2026

Super handy plugin for controlling who can see which products in WooCommerce. Setup
is straightforward, it runs smoothly, and does exactly what you’d expect without
slowing things down.

 [ Đọc tất cả 2 đánh giá ](https://wordpress.org/support/plugin/product-roles-manager-for-woocommerce/reviews/)

## Người đóng góp & Lập trình viên

“Product Roles Manager for WooCommerce” là mã nguồn mở. Những người sau đã đóng 
góp vào plugin này.

Những người đóng góp

 *   [ Igor Radovanov ](https://profiles.wordpress.org/igorradovanov/)

“Product Roles Manager for WooCommerce” đã được dịch qua 2 ngôn ngữ. Cảm ơn [những người tham gia dịch](https://translate.wordpress.org/projects/wp-plugins/product-roles-manager-for-woocommerce/contributors)
vì đóng góp của họ.

[Dịch “Product Roles Manager for WooCommerce” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/product-roles-manager-for-woocommerce)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/product-roles-manager-for-woocommerce/),
check out [SVN repository](https://plugins.svn.wordpress.org/product-roles-manager-for-woocommerce/),
hoặc theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/product-roles-manager-for-woocommerce/)
qua [RSS](https://plugins.trac.wordpress.org/log/product-roles-manager-for-woocommerce/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 1.0.1

 * Confirms compatibility with WordPress 7.0.

#### 1.0.0

 * Initial release
 * Simple product role restrictions
 * Variable product variation role restrictions
 * WooCommerce Blocks compatibility
 * REST API filtering
 * Settings page with import/export
 * Performance caching

## Meta

 *  Phiên bản **1.0.1**
 *  Cập nhật lần cuối **5 tháng trước**
 *  Số lượt cài đặt **10+**
 *  Phiên bản WordPress ** 5.0 hoặc cao hơn **
 *  Đã kiểm tra lên đến **7.0.8**
 *  Phiên bản PHP ** 7.4 hoặc cao hơn **
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/product-roles-manager-for-woocommerce/),
   [Russian](https://ru.wordpress.org/plugins/product-roles-manager-for-woocommerce/),
   và [Serbian](https://sr.wordpress.org/plugins/product-roles-manager-for-woocommerce/).
 *  [Dịch sang ngôn ngữ của bạn](https://translate.wordpress.org/projects/wp-plugins/product-roles-manager-for-woocommerce)
 * Thẻ
 * [access-control](https://vi.wordpress.org/plugins/tags/access-control/)[membership](https://vi.wordpress.org/plugins/tags/membership/)
   [product visibility](https://vi.wordpress.org/plugins/tags/product-visibility/)
   [user roles](https://vi.wordpress.org/plugins/tags/user-roles/)[woocommerce](https://vi.wordpress.org/plugins/tags/woocommerce/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/product-roles-manager-for-woocommerce/advanced/)

## Đánh giá

 5 trên 5 sao.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/product-roles-manager-for-woocommerce/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/product-roles-manager-for-woocommerce/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/product-roles-manager-for-woocommerce/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/product-roles-manager-for-woocommerce/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/product-roles-manager-for-woocommerce/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/product-roles-manager-for-woocommerce/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/product-roles-manager-for-woocommerce/reviews/)

## Những người đóng góp

 *   [ Igor Radovanov ](https://profiles.wordpress.org/igorradovanov/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/product-roles-manager-for-woocommerce/)

## Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

 [ Ủng hộ plugin này ](https://radovanovigor.com/)