WooCommerce Hide Products by User Roles

WooCommerce Hide Products by User Roles

WooCommerce Hide Products by User Role is a WooCommerce Extension, which give a option for Site Owner to Include or Exclude Products based on User Role. Now with 3.0 it will hide products site wide.

WooCommerce Hide Products by User Role is Support All Product Types which is much more robust now with Version 3.0 :)


With New Version 4.0 contain WPML Support where selected products/categories associated languages will also hide.


  • Show/Hide any Products in WooCommerce Shop based on User Role
  • Include/Exclude any Products based on User Role
  • Product Selection in One Place for Different User Roles
  • Support All WooCommerce Product Types
  • WPML Compatible
  • Easy to Use and Much More . . .


Many people refers that they unable to find the documentation? Kindly Apologies us. Documentation can be find it inside zip folder as you download from Envato, Inside Documentation Folder open index.html in browser to see it how to configure this plugin.


Kindly People who felt with issues in this Plugin, do cross check yourself by switch back theme to default wordpress inbuilt theme to see where the problem arise? If still face some problem with default theme then contact us with more details, but it works with default not for your theme then it is not a bug looks like it has compatibility issue. Most Theme don’t have any issues, but some of them we can’t help to fix it up, in this case you can anytime request refund to envato by creating support ticket, because envato only handling the payment.


Version 4.4

Tweak: Enhanced code to support related products
Tweak: Added support for upsells and crosssells

Version 4.3 on 19th April 2017
New: Compatible with WooCommerce 3.0

Version 4.2  on 26th December 2016
Fix: Products are not hide in tag archive page

Version 4.1 on 11th December 2016
Tweak: Code Improved to hide category from listing

Version 4.0 on 1st December 2016
New: WPML Compatible

Version 3.8 on 09th October 2016
Fix: Hide Products visible in search results.

Version 3.7 on 31st August 2016
Fix: Fatal Error in Settings Page when selected products are deleted

Version 3.6 on 12th August 2016
Fix: Hiding Other Custom Post Type Taxonomies

Version 3.5 on 09th June 2016
- Hide Products from Ajax Product Filter (Yith)
- Backend Label Updated
- Screenshots & Documentation Updated

Version 3.4 on 29th May 2016
- Settings UI and Label Updated
- Documentation Updated

Version 3.3 on 22 April 2016
Fix: Fresh Install Hide all Products and Categories 

Version 3.2 on 10 April 2016
Fix: Hide all Products if left the hide field empty
Fix: 500 Internal Server Error on accessing settings page if more than 500+ products
Tweaks: Improved code to optimize the performance of searching product in backend

Version 3.1 on  08 April 2016
Tweaks: Support for Hide Product in Category Page (Updated).

Version 3.0 on 07 April 2016
Tweaks: Now It hide products from site wide not alone shop page :)

Version 2.3 on 31 October 2015
Fix: Whitespace cause header already sent problem

Version 2.2 on 18 October 2015
New: Hide Products by Category

Version 2.1 on 08 August 2015
- Bug Fix in WooCommerce Product Page Style
- Bug Fix in Exclude Products for Guest

Version 2.0 - 02 August 2015
- Bug Fix White Screen Frontend
- Code Improved and Supported with WooCommerce 2.3.x
- Fixed Missing Option for Guest

Version 1.6 - 13 January 2015
- Added Checkbox Option for Category and Search

Version 1.5 - 11 January 2015
- Hide Product in Category Page and in Search Page

Version 1.4 - 5 November 2014
- For Warning array_combine is fixed

Version 1.3 - 1 October 2014
- Support Show/Hide Products for Guest too.

Version 1.2 - 28 September 2014
- Support with WooCommerce Latest
- Support Custom User Role (From Third Party Plugins)

Version 1.1 - 20 June 2014
- Fixed Minor Bug on Javascript
- Improvement Made to Validating array_combine

Version 1.0 - 19 June 2014
- Initial Release