How Do I Password Protect My WooCommerce Store?
WordPress does not include a native option to password protect a WooCommerce store. The solution is to install two plugins: Password Protect WordPress (PPWP) and its WooCommerce extension. Once both are active, you can lock your entire store or individual products without writing any code.
🔒 Why Can’t WordPress Password Protect a WooCommerce Store by Default?
WooCommerce is designed for public-facing stores. Every product page, category page, and shop page is publicly accessible by default. WordPress has no built-in setting to restrict access to a WooCommerce store as a whole. PPWP fills that gap by adding password protection directly to the Shop page and all content connected to it.
🧩 What Do You Need to Password Protect a WooCommerce Store?
You need two plugins:
- Password Protect WordPress (PPWP): the core plugin that handles password protection across pages and products.
- PPWP WooCommerce Extension: adds WooCommerce-specific functionality, including product protection and Quick Access Links for virtual products.
Both must be installed and activated before proceeding.
🏪 How to Password Protect Your Entire WooCommerce Store
Step 1: Go to Pages in your WordPress dashboard and find your Shop page.
Step 2: Click the Protect option next to it. PPWP will confirm the page is now protected.
Step 3: Click Manage Passwords to open the PPWP dashboard. You will see the auto-generated password along with its status, usage count, and expiration date.
To verify: Open the Shop page in an incognito window. You will see a password prompt instead of the store. Enter the password and the full shop loads with all products visible.
Important: When you protect the Shop page, all product pages and category pages are automatically locked as well. You do not need to protect each page individually.
🔑 Does Protecting the Shop Page Also Protect Product and Category Pages?
Yes. When PPWP protects the Shop page, every product page and category page connected to that store is locked automatically. A visitor who tries to access any product directly will see the same password prompt. This applies to all products and all categories without any additional configuration.
🛍️ How to Password Protect Individual WooCommerce Products
If you only need to restrict access to specific products, for example, staff-only items or members-only content, you can protect them individually.
Step 1: Open the product you want to protect. In the right sidebar, find the Password Protect WordPress panel. Toggle it on, enter a password and click Submit.
Step 2: Save or update the product. The product is now protected.
To verify: Right-click the product permalink and open it in an incognito window. The page shows a password prompt instead of the product. Enter the correct password and the full product page loads.
⚡ How Do Quick Access Links Work for Virtual WooCommerce Products?
After a customer purchases a virtual product, PPWP automatically sends them a Quick Access Link (QAL). This link gives the buyer direct access to the protected content without requiring them to enter a password manually.
To configure this:
- Open the product and scroll down to the Product data section.
- Check the Virtual checkbox.
- Click the PPWP Protection tab.
- Set the usage limit, the maximum number of times the link can be clicked.
- Set the expiration time in minutes, how long the link stays valid.
- Customize the message the buyer receives, with the Quick Access Link embedded in it.
When the usage limit is reached or the link expires, access is automatically revoked. The protected content remains locked.
❓ Frequently Asked Questions
Can I password protect a WooCommerce store without a plugin?
No. WordPress does not include a native option to password protect a WooCommerce store. A plugin like PPWP is required.
Does PPWP protect WooCommerce category pages automatically?
Yes. When you protect the Shop page with PPWP, all product pages and category pages are locked automatically.
Can I hide specific WooCommerce products from the public?
Yes. PPWP lets you password protect individual products using the sidebar toggle inside the product editor.
What is a Quick Access Link in PPWP?
A Quick Access Link is a unique URL that gives a buyer direct access to protected content after purchase, without requiring a password. PPWP generates and sends it automatically when a virtual product is purchased.
Can I limit how many times a Quick Access Link can be used?
Yes. In the PPWP Protection tab inside the product settings, you can set a usage limit and an expiration time for each Quick Access Link.
📄 Video Transcript
How do I password protect my WooCommerce store? WordPress doesn’t include a native option for this. You’ll need two plugins: Password Protect WordPress and its WooCommerce extension. Once both are active, here are the steps.
Protect the Whole Store
Step 1: Go to Pages and find your Shop page. Step 2: Click the Protect option to enable password protection. Then go to Manage Passwords to open the PPWP dashboard, where you’ll see the auto-generated password. To verify it’s working, open the Shop page in an incognito window. You’ll see the password prompt instead of the store. Enter the password and the full shop loads with all your products. Once the Shop page is protected, all product pages and category pages are automatically locked as well.
Protect Individual Products
If you need to protect only specific products, for example, staff-only items or members-only content, the process is similar. Step 1: Open the product you want to protect. In the right sidebar you’ll see the Password Protect WordPress panel. Toggle it on, enter a password and Submit. Step 2: Update or save your changes. The product is now protected. To verify, right-click the product permalink and open it in an incognito window. The product page now shows a password prompt instead of the product. Enter the correct password and the full product page loads.
Virtual products get even better with PPWP — buyers receive a Quick Access Link automatically after purchase, giving them instant access to the protected content. To set this up, open the product and scroll down to the Product data section. Check the Virtual checkbox, then click the PPWP Protection tab. Here you set the usage limit, expiration time, and customize the message the buyer receives.