If you’re looking to password-protect your entire WooCommerce store, make individual products private, or protect separate WooCommerce category pages, this guide will walk you through how.
Note: This guide requires the password-protection WordPress plugin Passster to work.
How to protect individual products
If you want to protect or make individual products private on your WooCommerce store, take the following steps:
- From your WordPress dashboard, go to Products > All Products and open up the product you’d like to password-protect in the Edit Product screen.
- Use the Passster meta box on the right-hand side of the screen to customize your product protection:
- Toggle the Activate Protection button to turn protection on.
- Set the Protection Mode/Type using the dropdown menu. You have a few options here, so pick the protection type that suits you. If you want a more detailed look at these, see our How to protect a whole page/post guide.
- If you want, you can set user role or username restriction by clicking the User Restriction toggle button.
- Then, you can overwrite the default password form settings, including text, headline, and button label.
- Once you’re done, click the Update button at the top of the page.
How to protect your entire WooCommerce store
If you want to protect the WooCommerce store side of your WordPress website, take the following steps:
- From your WordPress dashboard, go to Pages > All Pages and open up the Shop page in the text editor.
- Use the Passster meta box on the right-hand side of the screen to customize your product protection:
- Click the Activate Protection button to turn protection on.
- Click the Protect Child Pages button to apply the same protection to all shop sub-pages.
- Set the Protection Mode/Type using the dropdown menu. You have a few options here, so pick the protection type that suits you.
- If you want, you can set user role or username restriction by clicking the User Restriction toggle button.
- Then, you can overwrite the default password form settings, including text, headline, and button label.
- Once you’re done, click the Update button at the top of the page.