Release date 31 October 2022
protected sub categories are showing in the categories filter when using the WooCommerce Product Table plugin.
Updated Barn2 libraries.
Release date 12 May 2022
Added users & user role REST API protection of products via the /wc/store/v1/products/ route.
Updated Barn2 libraries.
Release date 22 April 2022
Shop Managers unable to search for users when protecting categories.
Tested up to WooCommerce 6.4.0.
Release date 10 February 2022
fixed an issue that prevented passwords from being displayed when changing/switching protection type.
Compatibility with WooCommerce 6.2.0.
Release date 08 February 2022
"Private categories" option. Private categories will continue to work, but it's recommend to switch to the more user-friendly "Role" option.
Added a deprecation notice inside the category editing page.
adjusted the order of certain options inside the setup wizard.
adjusted the order of sections inside the plugin's settings page.
updated language files.
Release date 13 January 2022
ajax user search not firing due to invalidated nonce.
Compatibility with WooCommerce 6.1.0.
Release date 06 January 2022
search users via ajax when protecting categories by "users".
product category visibility settings displayed the text-domain instead of the real labels.
Compatibility with WooCommerce 6.0.0.
Updated library code.
Release date 07 October 2021
Added setup wizard.
Added compatibility with the upcoming WooCommerce admin menu.
Javascript code consistency update.
Updated language files.
Updated library code.
Release date 20 July 2021
Compatibility with WooCommerce 5.5 and WordPress 5.8.
Updated library code.
Release date 1 May 2020
Compatibility with WooCommerce 4.1 and WordPress 5.4.1.
Added Composer support.
Release date 1 April 2020
Change loading of stylesheet for login page to ensure it's always loaded correctly.
Bug with page title when main Shop page is used as central login page.
Minor bug in product categories list table in Dashboard.
Refactor plugin to use new architecture; deprecate old classes and functions for backwards compatibility.
Add new Barn2 license system and library.
Remove is_admin() checks on file includes.
Release date 12 March 2020
Release date 21 January 2020
Release date 30 October 2019
Release date 19 August 2019
Release date 16 April 2019
Release date 19 March 2019
Bug when creating/editing categories if using an older version of WooCommerce (3.1 and below).
Release date 4 March 2019
Update to latest version of common code to prevent conflict with other Barn2 plugins.
Release date 21 February 2019
Improve category protection logic and provide better support for products in multiple categories.
Compatibility with WooCommerce Quick View Pro.
When 'Show protected products in store' was disabled, products in protected categories could sometimes still appear if the parent category was unlocked.
Products in multiple categories where one was unlocked could not be purchased from the shop page or archives.
Remove 'pass by reference' for query in pre_get_posts hook to prevent possible PHP warning.
Wrong protection type set when creating categories in admin.
Added category-password-required class to password login page (body class).
Release date 10 January 2019
'exclude_tree' option in get_terms is no longer overridden, but merged with the list of protected categories.
Issue which prevented the category_login shortcode unlocking some categories when used in a sidebar.
License activation bug for older versions of WooCommerce.
Release date 27 July 2018
User role and user account protection features. Product categories can now be protected by password, user role or user account, or a combination of all three.
Plugin renamed 'WooCommerce Protected Categories'.
Updated plugin settings page, including new user protection options.
Prevent search engine indexing for protected categories (previously set only for private categories).
Prevent caching for protected and private categories when using cache plugins (e.g. WP Rocket).
Updated display of password login form to improve compatibility across different themes.
Category visibility in Products > Categories menu now shows 'inherited' status when parent category is protected.
Prevent accidental login to multiple categories when two or more categories share the same password.
Central password login page - prevent access to categories which have changed status from 'protected' to 'public' or 'private'.
Products in two or more protected categories can now be unlocked by unlocking any one of its categories.
Ensure protected products are not purchasable from product tables in WooCommerce Product Table.
Update HTML in woocommerce_template_loop_category_title to match WooCommerce.
Apply BEM CSS standards for password entry form and category visibility settings.
Tested up to WP 4.9.8 and WooCommerce 3.4.4.
Various new actions and filters.
Code restructure and improvements.
Release date 13 June 2018
Allow shortcodes to be used in login form message.
Added license.txt for GPL.
Fatal error setting Category login page in plugin settings.
Release date 4 June 2018
Add separate stylesheet for front-end and remove inline styles from login form.
Added WPML config file.
Tested up to WP 4.9.6 and WC 3.4.1.
Various code improvements; renamed admin classes.
Conflict with Cosmetro theme (and potentially other themes which override the woocommerce_template_loop_category_title function).
Template issue with Flatsome theme for products in protected categories.
Updated license code.
Release date 18 October 2017
Release date 6 October 2017
Release date 4 October 2017
Release date 5 September 2017
Ensure password cookie is set correctly when no expiry set in plugin options.
Restructured plugin initialisation and added extra utility functions.
Updated plugin support links.
Updated translations.
Release date 7 June 2017
Bug on product category archives when display type set to subcategories.
Release date 5 June 2017
Bug in get_terms_args filter which was causing incorrect display of product category pages.
Tested with WordPress 4.8.
Release date 22 May 2017
PasswordHash class was not found under certain conditions.
Release date 5 May 2017
Bug for variable products for WooCommerce below v3.0.
Release date 25 April 2017
Plugin setting to control how long the password entered is valid before it expires.
Plugin settings to customise the login form - heading, password label, and label placeholder option.
Login form now shows error messages if no password or incorrect password entered.
The form message in plugin settings is now used if not set in shortcode.
Category login page can now be set to the main shop page.
Compatibility with WooCommerce 3.0.
Release date 3 February 2017
Revert error with password protected categories introduced in previous version.
Release date 3 February 2017
Compatibility issue with servers running older versions of PHP.
Updated license code.
Release date 28 January 2017
Plugin option to set CSS class on password form container.
Bug with products in protected categories when 'show protected products' option disabled.
Ensure category login shortcode works in widgets.
Update license key code.
Release date 26 January 2017
Category login shortcode which allows customers or clients to login to their own product category by using a category password.
Plugin option to allow the 'category login' page to be set.
Bug with protected child categories which have a password protected parent.
Change filter for category password form to 'wp_ppc_password_form' to prevent theme conflicts.
Update license code and plugin updater.
Release date 5 January 2017
Release date 21 November 2016
Release date 16 November 2016
Release date 3 November 2016
Release date 16 September 2016
Release date 8 September 2016
Release date 31 August 2016
Release date 26 August 2016
Release date 16 August 2016
Release date 28 June 2016
Release date 9 May 2016
Release date 21 April 2016
Release date 15 April 2016
Release date 11 March 2016
Release date 2 March 2016
Release date 1 March 2016