Title: Restrict By Category  for WooCommerce
Author: EDGARROJAS
Published: <strong>2017 年 9 月 19 日</strong>
Last modified: 2024 年 7 月 12 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/woo-restrict-by-category/assets/icon-256x256.png?rev=1733112)

# Restrict By Category for WooCommerce

 作者：[EDGARROJAS](https://profiles.wordpress.org/edgarrojas/)

[下载](https://downloads.wordpress.org/plugin/woo-restrict-by-category.zip)

 * [详情](https://cn.wordpress.org/plugins/woo-restrict-by-category/#description)
 * [评价](https://cn.wordpress.org/plugins/woo-restrict-by-category/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/woo-restrict-by-category/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/woo-restrict-by-category/#developers)

 [支持](https://wordpress.org/support/plugin/woo-restrict-by-category/)

## 描述

Give access to your users to certain product categories

**Features**

 * **Give or deny access to woocommerce categories by role.
 * **Give or deny access to woocommerce categories to non logged in user

## 屏幕截图

[⌊Loading Screen⌉⌊Loading Screen⌉[

Loading Screen

[⌊Loading Playback⌉⌊Loading Playback⌉[

Loading Playback

## 安装

 1. Upload user-recording-for-wordpress to the `/wp-content/plugins/` directory
 2. Activate the item named ‘User Recording For WordPress’ in the ‘Plugins’ menu in
    WordPress

## 常见问题

### Is there any frequent asked question?

Nope.

## 评价

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

### 󠀁[its not working](https://wordpress.org/support/topic/its-not-working-101/)󠁿

 [Istiaq Nirab](https://profiles.wordpress.org/istiaqnirab/) 2018 年 9 月 9 日

its not working in my site

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

### 󠀁[Did not work for me at all.](https://wordpress.org/support/topic/did-not-work-for-me-at-all-2/)󠁿

 [aasyed](https://profiles.wordpress.org/aasyed/) 2018 年 7 月 13 日

I installed this plugin on my website. Was impressed with the simplicity until I
realized that it did not work.

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

### 󠀁[It really works!!](https://wordpress.org/support/topic/it-really-works-44/)󠁿

 [sergioz](https://profiles.wordpress.org/sergioz/) 2018 年 6 月 19 日

thank you for this plugin. i was going crazy till i found it . its very very simple
to use and it works

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

### 󠀁[When are things ever this simple?](https://wordpress.org/support/topic/when-are-things-ever-this-simple/)󠁿

 [vincentjflorio](https://profiles.wordpress.org/vincentjflorio/) 2018 年 6 月 2
日

Now is when. Activated, visited its page on the Dashboard menu, clicked two checkboxes,
and the relevant products and categories were gated off. Even shows the correct 
alternate views and message so as not to disorient people who would otherwise see
little or nothing. Also, I totally get that Administrator is a role anyway, but 
it's super easy to test with when you, as the admin, can just toggle yourself on
and off to see how your changes affect things.

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

### 󠀁[WooCommerce Restrict By Category Works Perfect](https://wordpress.org/support/topic/woocommerce-restrict-by-category-works-perfect/)󠁿

 [SSVapes](https://profiles.wordpress.org/username12/) 2018 年 4 月 22 日

If you own a woocommerce shop and need a simple but elegant way to restrict product
categories to specific logged-in user roles, well, this is your plugin. WooCommerce
Restrict By Category works flawlessly and is easy to use. Install it, then go settings.
In each user box select the categories that you want the user to see. That's it.
Simple, and perfect. I searched 5 times before I found this plugin. It should rank
higher in the searches. It does the exact job using good UI/UX so that's why i give
WooCommerce Restrict By Category a 5 star rating.

 [ 阅读所有6条评价 ](https://wordpress.org/support/plugin/woo-restrict-by-category/reviews/)

## 贡献者及开发者

「Restrict By Category for WooCommerce」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ EDGARROJAS ](https://profiles.wordpress.org/edgarrojas/)

[帮助将「Restrict By Category for WooCommerce」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/woo-restrict-by-category)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/woo-restrict-by-category/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/woo-restrict-by-category/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/woo-restrict-by-category/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/woo-restrict-by-category/)。

## 更新日志

#### WooCommerce Restrict By Category 1.1

 * Restrict access to single product if the user doesn’t have access to its category
   = User Session Recording For WordPress 1.0 =
 * Added support page

## 额外信息

 *  版本 **1.1**
 *  最后更新：**2 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.3 或更高版本 **
 *  已测试的最高版本为 **4.8.34**
 *  语言
 * [English (US)](https://wordpress.org/plugins/woo-restrict-by-category/)
 * 标签
 * [access](https://cn.wordpress.org/plugins/tags/access/)[category](https://cn.wordpress.org/plugins/tags/category/)
   [Restriction](https://cn.wordpress.org/plugins/tags/restriction/)[security](https://cn.wordpress.org/plugins/tags/security/)
   [woocommerce](https://cn.wordpress.org/plugins/tags/woocommerce/)
 *  [高级视图](https://cn.wordpress.org/plugins/woo-restrict-by-category/advanced/)

## 评级

 3.4 星（最高 5 星）。

 *  [  3 条 5 星评价     ](https://wordpress.org/support/plugin/woo-restrict-by-category/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/woo-restrict-by-category/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/woo-restrict-by-category/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/woo-restrict-by-category/reviews/?filter=2)
 *  [  2 条 1 星评价     ](https://wordpress.org/support/plugin/woo-restrict-by-category/reviews/?filter=1)

[您的评价](https://wordpress.org/support/plugin/woo-restrict-by-category/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/woo-restrict-by-category/reviews/)

## 贡献者

 *   [ EDGARROJAS ](https://profiles.wordpress.org/edgarrojas/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/woo-restrict-by-category/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=edseventeen%40gmail.com)