WooCommerce Category Locker


General Info & Features:

  • WooCommerce versions support – 2.2.0 and later
  • WordPress version support – 3.5 and later
  • Products under locked category are excluded from the main shop loop
  • Passwords are fully encrypted and saved as a cookie
  • Password cookie lasts for 30 minutes by default
  • Ability to customise password template by copying it in to woocommerce theme folder
  • No Ads
  • No Paid Upgrades
  • Regular updates and maintenance

Having trouble? Please read FAQ first, if you need any assistance, contact us.

Development on GitHub
The development of WooCommerce Category Locker takes place on GitHub. Bugs and pull requests are welcomed there.


List of available actions and filters:


  • wcl_before_passform – runs before Password Form
  • wcl_after_passform – runs after Password Form


  • wcl_passform_classes – Password <form> classes
  • wcl_passform_submit_label – Password form submit button label
  • wcl_passform_submit_classes – Password form submit button classes
  • wcl_passform_input_classes – Password form input classes
  • wcl_passform_input_placeholder – Password form input placeholder
  • wcl_passform_description – Password form description shown above input and submit button
  • wcl_password_form – Entire form markup
  • wcl_password_expires – Password expiry when entered (default 30min)


  • Category page using TwentySixteen theme.
  • Category page using Storefront theme by WooCommerce.
  • Edit product category page in the admin area.
  • Add product category page in the admin area.


  1. Upload wc-category-locker to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. To activate password for category, navigate to Products -> Categories then either create or edit existing category, tick “Password Protected” -> Enter password you wish to use and hit “Update”
  4. To disable password, simply untick “Password Protected”


None yet


Great Plugin

Thank you much! It works great, i am searching for hours and found this free and clean solution.

Thanks again

Read all 2 reviews

Contributors & Developers

“WooCommerce Category Locker” is open source software. The following people have contributed to this plugin.




  • Fixed issue where users were not able to remove plugin if they didn’t have WooCommerce plugin installed.


  • First release.