WooCommerce is the leading platform for creating an online shop and powers over 29% of all e-commerce websites worldwide. While the core WooCommerce WordPress plugin is free, there are hundreds of free and paid extensions which allow it to be used to create almost any type of online store – often without touching a single line of code.
One of the most common WooCommerce requests that WordPress agencies receive is to create a members-only WooCommerce store. The entire store may be exclusive to members, or you may require separate public and private areas of your online shop.
There are several different ways that you can create a members-only shop using WooCommerce, each with its own pros and cons. I will guide you through the options and help you to choose the best solution for your own WordPress website.
Who needs a members-only WooCommerce store?
Restricting part or all of a WooCommerce store to members can meet various different business needs. Here are some popular scenarios that we have seen with our own clients:
- You might use WooCommerce to sell products to retail customers and need a private area for wholesale members.
- You might have a WordPress membership website and sell products exclusively to your members.
- Your WordPress site might have multiple membership levels, each with access to different products. (For example, one of our clients has a different membership level for each of her training courses. She sells course-specific products that are exclusive to each level).
- You might have a public online shop with the option to become a member and access extra members-only products.
- Your company’s WordPress website might have a hidden membership area allowing staff to purchase uniforms or other products.
There are probably many more reasons to restrict WooCommerce categories to members. Please add your own reasons in the comments below.
All WooCommerce member stores are unique…
Each of the scenarios I’ve listed above is really quite different. Some of them require the entire WooCommerce store to be locked down. Others have a public and a private area within the online shop. Some require unique logins for each member. Others would benefit from having a single password that can be given to all members.
Below, I will describe 6 ways to create a members-only WooCommerce area.
6 types of WooCommerce members-only store
First, here’s a quick summary of the 6 methods featured in this article. Use this to choose the one that best meets your requirements, then learn how to create your members’ store below.
- WooCommerce members area with no extra plugins – A very simple option where you add your members-only products to a password-protected page in WordPress. This is a nice basic solution for small organizations but the other methods are more secure.
- WooCommerce membership plugin – Restrict your WooCommerce products and other content using a membership plugin. Tricky to set up and may not protect all aspects of WooCommerce, but useful if you want each user to have a unique login for your WordPress site.
- Private WooCommerce Store – A simple but effective plugin that completely hides your WooCommerce store and makes it private. Public visitors won’t know that you have a hidden members-only store.
- WooCommerce password-protected categories – Similar to method #3, you can password protect individual categories instead of hiding your whole store. Useful if you want public and members-only areas within a WooCommerce store.
- Private WooCommerce categories – Make specific categories and their products visible only to logged-in members with a specific user role. Useful if you want members to have individual logins for your WordPress site. You can make some categories private while still having a public WooCommerce store.
- WooCommerce members-only store – Create as many different member roles as you’d like and set percentage-based discounts for each user role. Let members register from the front end or assign member roles manually. Useful if you want to sell products to members at different rates based on their user role. Also lets you make product categories private while still having a public-facing WooCommerce store.
1. WooCommerce members area with no extra plugins
Like many people in the WordPress community, I have long argued that a website can have too many plugins. Where possible, it’s best to keep things simple and use the features that are already available instead of bolting on extra functionality.
Learn about the features that are built into your theme, WooCommerce, and WordPress itself. This is an opportunity to design a basic members-only WooCommerce store with no extra plugins.
How to create a WooCommerce members store with no plugins
The exact method will depend on your theme, but here are some possibilities:
- Create a page in WordPress as usual and password-protect it. (You can find the password protection option for pages in the ‘Publish’ section at the top right of the ‘Add/Edit Page’ screen.) Use the ‘Product’ or ‘Product Category’ WooCommerce shortcodes to insert the products for your members-only WooCommerce store into the password-protected page.
- Some of the more advanced WooCommerce-compatible WordPress themes (usually the ones on ThemeForest, which tend to have more features than themes from other sources) have built-in options for displaying products. You can create a password-protected page as described in the previous point. Then use the theme to insert your members-only products or categories. If your theme has this feature then your products will probably be styled much more professionally than the default WooCommerce shortcodes.
- You can also password-protect individual WooCommerce products using the same method as protecting pages and posts in WordPress. This is worth doing if you only have a small number of members-only products, or if you want to make each product available to different groups of members. It’s less user-friendly for larger membership online shops because your members will have to enter a password for every single product they view – even if each product has the same password.
The downside with this option is that it’s pretty basic and involves a lot of compromises and there are some security loopholes. For example, WooCommerce automatically creates a main ‘Shop’ page listing all your products. Even if you aren’t directing people to this page, people will still be able to find it (e.g. by guessing the address). Your shop page will list your members-only products as well as your public products.
If you want to keep things simple then it is fine for your members to share the same password for your protected shop page. You won’t have to worry about letting members sign up directly on the website. You don’t have to bother adding them as individual users or helping them with lost password/login problems. This eases the administrative burden on you as the store owner. However, if your members’ store needs a more secure and fully featured solution then you’ll need methods #2-5.
2. WooCommerce membership plugin
The most sophisticated way to create a members-only WooCommerce store is to use a WordPress membership plugin. Membership plugins are a great option for more advanced websites because you can have multiple membership levels. Each member has their own unique login – no shared passwords.
Membership plugins also allow you to create other members-only content such as static pages and posts. If you need a wider members area in addition to your protected products and categories then this is the best option.
The other advantage is that if you use a WooCommerce-compatible membership plugin, people can purchase a membership (along with your other products) directly on your website. You can automate the entire process so that they can sign up, pay and receive their login details without any involvement from you.
Which membership plugin to use?
If you’re using WooCommerce and want to create members-only products then you need a WooCommerce-compatible membership plugin. This immediately narrows your choice of plugins.
I would recommend either WooCommerce Memberships or the free Groups plugin with the Groups for WooCommerce add-on. Both of these paid plugins are by WooThemes, the company behind WooCommerce. This means that you benefit from guaranteed support and compatibility. (WooThemes have published a useful comparison to help you decide which membership plugins best meets your needs.)
Another free alternative would be Paid Member Subscriptions. This membership plugin allows you to restrict WooCommerce product view and product purchase based on logged-in status, as well as a subscription plan. You can filter which of your members get to see and purchase specific WooCommerce products.
How to use a membership plugin to create a private WooCommerce shop
First, set up your membership plugin in the usual way. Create your members-only section of the website and restrict access to your members. You can then restrict your members-only WooCommerce products and categories to the appropriate membership level.
- The biggest downside of membership plugins is that they’re significantly more complex to set up and maintain than the other 4 methods. Your WordPress developer will charge much more for this option and it’s probably not realistic for you to do it yourself. This adds to your development costs, as well as ongoing website maintenance. Only use this method if you definitely need a membership system of this complexity.
- The membership plugins I have recommended allow you to restrict WooCommerce products to a specific membership level. However, they do not let you restrict entire categories. If you need to restrict access to WooCommerce categories then you need method #4 or #5, below.
- If your whole WooCommerce store is members-only then you can also restrict your main shop page to members. This can cause problems if your store has public and private areas, as members-only products will still appear on the main shop page. They’ll get an error if they click on the members’ products, but they will still see that they exist which isn’t professional. If this is a problem for your store, use methods #3, #4, or #5 described below.
- Giving each member a unique login is definitely the most secure option but doesn’t suit all websites. You might be better off keeping it simple by giving a shared password to all your members. That way, you don’t have to worry about creating and administering multiple user accounts.
- Most membership plugins don’t include the ability to create dynamic navigation menus in which each membership level can see the content that is available to them.
3. WooCommerce Private Store
WooCommerce Private Store is the easiest way to create a completely hidden members-only store in WooCommerce.
This members-only plugin works by password protecting all areas of WooCommerce or restricting your store so that only logged-in members can access it. The main shop page, products, categories, tags, and other store content are hidden from the public view. Members can use a shared password or log into their user accounts to unlock the hidden store.
Your public website is completely unaffected by WooCommerce Private Store. Visitors will view your company website as usual with no idea that there’s a hidden online shop in the background.
Other WooCommerce elements such as widgets and menu items are hidden until you enter the correct password. When a member unlocks the hidden store, these elements automatically become visible to them.
As well as password-protecting every part of WooCommerce, the private shop plugin has extra features behind the scenes. It automatically hides WooCommerce content from search engines, XML sitemaps, and the on-site WordPress search. This means that only your members will know you have a hidden WooCommerce store as it’s completely hidden from public view.
How to use the members-only store plugin
It just takes a couple of minutes to set up WooCommerce Private Store and create a hidden members store.
The first step is to purchase WooCommerce Private Store, install it on your site, and then activate the plugin. Add your license key to the settings page (WooCommerce > Settings > Products > Private Store).
On the private store settings page, you’ll see a few simple options. The most important options are to select a WooCommerce login page and password or choose whether you want to automatically unlock the members-only store for logged-in users. If you want, you can also customize the text that appears on the store login page.
Everything else happens automatically, and you don’t need to do any further setup. Once you’ve followed these steps, your whole WooCommerce store will be private to members only. No one else will even know it exists unless you add a link to the login page!
4. WooCommerce password-protected categories
The WooCommerce Protected Categories plugin is designed to overcome the disadvantages of other methods for creating a members-only WooCommerce store.
It works by adding a password protection option to the WooCommerce product categories page. You can password-protect any category.
WooCommerce Protected Categories is designed to maximize the security of your members-only online shop. It does this while being user-friendly for members and non-members.
Password-protected members-only categories – Feature list
- All products within a password-protected category will automatically be protected with the same password. After a member enters the password, all products in the category will be unlocked without having to re-enter the password.
- If you add sub-categories to a password-protected category then all the products within the sub-categories will also be protected.
- The plugin includes an option to automatically hide password-protected products and categories from the navigation menu.
- You can also use the plugin to protect WooCommerce categories in other ways, such as restricting them to specific logged-in users or user roles. Skip ahead to Method 5 for details.
- Unlike methods #1 and #2, password-protected WooCommerce categories are automatically hidden from the main shop page. The products within the protected category will be hidden too. This lets you list them within a members-only area of your site without anyone else being able to see them.
You can have password-protected categories alongside public areas of your WooCommerce store. This means that you don’t have to restrict your entire shop to members. You can either put all your products within protected categories or have some public and some private members-only categories.
How to use the password-protected categories plugin
First, install and activate WooCommerce Protected Categories on your WooCommerce website. Next, go to Products > Categories in the WordPress admin and password-protect your members-only categories.
You don’t need to password-protect any sub-categories or products within the category as this will all happen automatically. If you like, you can add links to your password-protected category. For example to the header, navigation menu, or within a page. Or you can keep the address private and just give it to your members.
Next, give the password to your members and your members-only WooCommerce store will be complete.
The only real downside of this method is that it’s not as secure or fully featured as having individual user accounts for each member. Some members-only store owners love the simplicity of protecting their store with one or more simple passwords – making password-protected categories is a great option. However, if you need the added security of individual user logins, then Method 5 might be a better option for you.
5. Private WooCommerce categories
Finally, you can create a members-only WooCommerce store by creating private product categories that are only available to specific logged-in users or user roles. This is another protection option in the WooCommerce Protected Categories plugin featured in method #4. But instead of password-protecting categories, you restrict them to individual users or entire roles.
User role-protected WooCommerce categories are only visible to logged-in members with the correct privileges. Each member needs their own user account on your WordPress website. When they log in, they will automatically be able to access the WooCommerce members-only store.
How to create a members-only store using WooCommerce user and role-protected categories
The first step is to purchase, install, and activate the WooCommerce Protected Categories plugin. Add your license key to the settings page (WooCommerce > Settings > Products > Protected Categories).
If you want to create a dedicated user role for your members, then you can easily do this with the free User Role Editor plugin. You can create a single user role for all your members, or if you have multiple membership levels then you can create additional roles. This is a good way to give different members access to different members-only products.
Once you’ve created a members role, go to Products > Categories. You’ll see a new ‘Visibility’ option when you add or edit a category. Choose ‘Protected’ and select one or more users or user roles that will have access to the members-only category. Leave any sub-categories set to ‘Public’, and the plugin will automatically protect them too.
Then, you just need to create a user account for each of your members. When they log in, they’ll be able to see your members-only WooCommerce categories and the products within them. The private WooCommerce content will be invisible to everyone else.
6. WooCommerce Members-Only Store
The WooCommerce Wholesale Pro plugin makes it easy to create a WooCommerce members-only store in a few simple steps.
This members-only plugin works by letting you create a private members-only area on your existing store. This way, you can have a public-facing site with a members-only area that’s hidden from regular visitors. In addition to this, you can allow members to register from the front end (with or without admin moderation) or assign member user roles manually.
It also lets you choose which products to show on the front end to members. Using WooCommerce Wholesale Pro, you can set global or product category-specific percentage discounts for your site’s members. Alternatively, you can set members-only prices for individual products.
How to use the members-only store plugin
You can set up the WooCommerce Wholesale Pro plugin and create a members-only store in under 15 minutes.
To get started, purchase the WooCommerce Wholesale Pro plugin and install and activate it to your WordPress site. Next, add your license key to the settings page (WooCommerce > Settings > Wholesale > General). From the same screen, you can set up member registration and choose the members-only store page.
You can also click on the Roles tab to create new member roles, set global percentage discounts, and choose which member role should be the default user role. Alternatively, you can set category percentage discounts or create product-specific pricing for members.
The members-only plugin also lets you control the visibility of your WooCommerce products. You can choose to make product categories visible only to members, both members, and regular visitors, or regular visitors only.
Which members-only plugin do you use?
In this article, I’ve covered 6 top ways to create a WooCommerce members-only store.
Which solution do you think is best? How did you create a members-only WooCommerce shop on your own website? Are there any plugins I’ve missed? Please share your comments below.