Цей плагін не перевірявся з останніми 3-ма основними випусками WordPress. Можливо, він більше не може розроблятися або підтримуватися, і він може мати проблеми сумісності при використанні з більш новими версіями WordPress.
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.
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.