Create client-specific products in WooCommerce

Stocksy txpc861b759NFK000 Medium 451389

By default, products created in WooCommerce are available to all users to buy. In this article, I’ll look at the simplest method possible to create client-specific products, also known as user-specific products, in WooCommerce.

What are client-specific products?

Client-specific products would normally be hidden from most visitors to your site. Only certain users would be able to view and purchase them. Users could be identified either by logging in or by using a unique password that you could assign to the product then issue to your customers.

WooCommerce Members Only featured image

WooCommerce Members Only

Protect your content and sell members-only products

Find Out More

Once the user has logged in or entered their password into a simple form, they can immediately view the unique products you’ve prepared for them. It’s simple but adds a really nice personal touch to your site.

Why create client-specific products?

Most of the time, you’d like to be selling as many products to as many customers as possible. However, there are times in certain industries where client-specific products make sense.

  • You’re creating personalised products for individual clients
  • You might not want everyone to see all your products
  • Products might be private in nature
  • Products might have an age restriction
  • You might be charging different users different prices for similar products

Examples of client-specific products


If you’re running a photography business, there’s a good chance that you’d like your customers to be able to purchase and download their photos from your site without the rest of the world seeing them.

Possible use cases here include wedding photographs, school or kids’ photos, portraits: in fact, any kind of photography project you care to mention.

School websites

Whether it’s school photos, personalised uniforms, reports, or other products, you might want to ensure that products are only available to designated parents.


If you’re a graphic designer and you’re working on client projects, then it’s highly convenient for your clients to be able to view, purchase and download your designs direct from your site. It’s highly convenient for you too.

By creating client-specific products, you can issue your clients with a user name or even just a password so that they can access their designs without anyone else seeing them.


Imagine being able to create proofs for your client’s brand new business cards, uploading it to a user-specific product, then sending the client their simple password to access the proofs. They can sign them off there and then, and pay for the order online. It’s a great service for your customers and it saves time for you too.

Wedding stationery

By its nature, wedding stationery is bound to be personalised. User-specific products are an ideal solution for allowing your clients to view proofs and pay for their designs.

Sports clubs

Your local rugby, football, cricket, hockey, la crosse team, whether it’s adult or kids, will often need a client-specific area on their website. You might use this to provide personalised kit for your players or offer special merchandise to supporters.

Branded apparel, workwear or goods

If your business centres around creating branded goods for companies or individuals, it makes a lot of sense to provide your customers with products that are specific to them.

How to create a client-specific product in WooCommerce

Having established the need and desirability for client-specific products, let’s look at how to create one in WooCommerce. This is a simple, three-step process:

  1. Purchase, download and install the WooCommerce Members Only plugin.
  2. Create your product
  3. Make your product private

Install the WooCommerce Members Only plugin

This is an ultra-simple plugin that, among other things, will allow you to create user-specific products.

WooCommerce Members Only featured image

WooCommerce Members Only

Protect your content and sell members-only products

Find Out More

Once you’ve uploaded the plugin and activated it, you don’t need to do any configuration.

Create a product

If you’re familiar with WooCommerce, then you shouldn’t need too much assistance with this. However, if it’s new to you, I recommend taking a look at the WooCommerce Docs section on adding and managing products.

Depending on the type of product you’re creating, at this stage you can upload any proofs or photos as product images, set the price, and even write a personal message to your custom.

But, before you hit ‘Publish’…

Make your product private

This is where the magic happens. With the Members Only plugin installed and active, you’ll have a new panel in the WooCommerce Product Data section entitled ‘Members Only’. Click on this.

Product restriction method

Initially, you’ll have the option to choose a ‘Restriction method’. Note that there’s no restriction applied by default.

You can choose between ‘By User’, ‘By User Role’ and ‘Password’.

WooCommerce private product restriction methods

What’s the difference between ‘By User’, ‘By User Role’ and ‘Password’?

When you make your product private, it’ll be hidden from all other users apart from those you specify. You can specify users either by their user ID, user role or simply by giving them a password.

If you decide to use the ‘User ID’ setting, your customers will need to log in using their WordPress account in order to view the product.

If you specify user role, users will also need to log in. The main difference between user role and user ID is that you can assign multiple users to a role more easily than specifying multiple user IDs to a restricted product.

If you use passwords, then your user doesn’t need to have an account on the site – anyone who has the password can use it to view the product. This might be a good or a bad thing.

There’s a more detailed look at the pros and cons of user ID and passwords here.

How to get the user ID in WordPress

If you decide to use ‘User ID’ as the restriction method, there’s a simple way to get the user ID in WordPress. The Members Only plugin helpfully displays it for you.

Just go to Users in your WordPress admin, locate the user you wish to obtain the ID for, and hover over that user. You’ll see the ID appear as part of the extra options under the user name.

WordPress user ID

Protecting the product by user ID

Let’s look at restricting the product by user ID first. Select ‘By User’ for ‘Restriction method’ and you’ll see a new field called ‘User IDs’. In here, you can enter a comma-separated list of IDs for users who are permitted to view this product.

So, if the user with the ID 241 is allowed to view this product, just enter ‘241’ into the ‘User IDs’ field:

Protect products by user IDs

Protecting the product by user role

To restrict the product to certain user roles, select ‘By User Role’ from the ‘Restriction method’ field.

You’ll see additional fields appear.

protect product user role

In ‘Permitted user roles’, enter the role or roles that are permitted to view this product.

If you want to ensure that certain roles can’t see the product, enter these roles into ‘Hide from User Roles’.

Protecting the product by password

If you decide to restrict the product by password instead, just choose ‘Password’ from ‘Restriction method’. You’ll see a new field where you enter as many passwords as you like, each on a separate line.

protect product by password

Now any user who enters a correct password will be able to view the product.

Hide or display user-specific products on archive pages

Whichever restriction method you choose here, you’ll get the option to ‘Hide in Archives’.

Maybe, with your clients’ permission, you want to display their specific products on the main shop and other archive pages. You can take advantage of the ‘fear of missing out’ factor by letting other users see customers’ products.

Other customers could see the products but when they click on them, they’re redirected to a password or log-in page. You could even design a specific landing page to encourage new customers to sign up with you.

The chances are, though, that you will probably want to keep user-specific products hidden from everyone except the customer they’re reserved for. If you want to hide private products in the shop and archives pages, just check the ‘Hide in Archives’ option.

Further reading

WooCommerce Members Only

Hopefully, this has given you some insight into how easy it is to create client-specific products. Just click the image below to find out more about the Members Only plugin.

WooCommerce Members Only featured image

WooCommerce Members Only

Protect your content and sell members-only products

Find Out More


  1. User image

    ok, great idea. what if though…the products are massive? As you said for example maybe for a photographer. If he wants to give access to user 1 e.g for downloading and buying his photos…maybe 500 of them, does he need to add the user id to all 500 products by HAND?or can this be done automatically?
    TThank you

  2. User image

    My wife is a photographer with a wordpress site with a print-on-demand 3rd party plugin(for prints, frames, canvas, postcards, etc). But she also does physical special events where she takes digital pictures, and would like to offer the customer the option to upgrade by ordering the extras of the picture through her website, hours or days later. So there would be a ‘revolving door’ of temporary customers created with their personal login to access their personal photo(that no one else can see) and order the upgrades. Is this possible?

    • User image

      Hi Charlie

      Yes, absolutely. You can create as many customer-specific products as you like. Please remember that the plugin protects access to product pages. Images may still be available, e.g. if a user had the direct URL to the image.


      • User image

        Hi Gareth,

        Sorry that I am confused.
        If “Images may still be available, e.g. if a user had the direct URL to the image.”,
        would it be in conflict with the description – “without the rest of the world seeing them” – in the Photographers example of this article?

        If you’re running a photography business, there’s a good chance that you’d like your customers to be able to purchase and download their photos from your site without the rest of the world seeing them.”

        Would it be possible to further enhance the plugin to also restrict access to the product images?

        Thank you very much!

Leave a Reply

Your email address will not be published. All fields are required.