WooCommerce login for your customers: The ultimate guide

WooCommerce Login Plugins

This ultimate guide contains everything you need to know about WooCommerce login for your customers. We'll look at the different ways you can let customers log into a WooCommerce online store, and why.

I'll tell you how to set up a WooCommerce login straight out of the box, with or without compulsory registration and social login. I'll also share some handy login plugins to create a hidden or private WooCommerce store that only logged-in customers can access. You will learn how to:

  • Add user login to your WooCommerce store (no plugin needed).
  • Make users log in before purchasing (no plugin needed).
  • Hide your entire store from logged-out users using the WooCommerce Private Store plugin.
  • Restrict specific products and categories to logged-in users using the WooCommerce Protected Categories plugin.
  • Send your customers WooCommerce auto-login links using the free URL-Based Login plugin.

Read on, or watch this video to see how each login method works.

Importance of a customer login for WooCommerce

  1. Personalized user experience: WooCommerce customer login allows you to provide a personalized experience to your customers. They can easily access their order history, saved payment methods, and shipping details, which can save them time and effort.
  2. Increased security: With a WooCommerce customer login, you can secure customer data by allowing access only to registered users. It also allows you to monitor and track user activity to prevent any fraudulent or suspicious activity.
  3. Targeted marketing: A WooCommerce customer login feature allows you to track customer behavior and preferences, which can be used to create targeted marketing campaigns. You can also offer personalized discounts and promotions to customers based on their purchase history.
  4. Improved customer engagement: WooCommerce customer login feature can help you create a loyal customer base. You can send personalized emails, update them on new products or services, and gather feedback on their experience.
  5. Simplified checkout process: When WooCommerce customers log in, they can save their payment and shipping details, making the WooCommerce checkout process faster and more convenient. This can increase customer satisfaction and encourage repeat business.

What are the different types of WooCommerce login?

By 'WooCommerce login', I'm talking about the process where customers log into your online store. It's quite a vague term and there are several ways to set it up. Which one you choose depends on how you want your store to work.

  1. Public WooCommerce store with guest checkout - This is the most common WooCommerce setup. Anyone can browse your products and there is no hidden WooCommerce content. Customers can buy products as a guest without having to log in, or they can optionally create a WooCommerce account during checkout.
  2. Public WooCommerce store with mandatory user accounts - Lots of WooCommerce stores can be browsed by anyone, but customers must register or log in to their WooCommerce account in order to purchase.
  3. Customer portal with protected product categories - Instead of (or as well as) individual customer accounts, you can password-protect parts of a WooCommerce store or restrict them to specific users or user roles. Anyone can buy from the public areas of your shop, while only customers with the right credentials can access your protected categories. Once a customer logs into your protected categories, they can view and buy the hidden products inside.
  4. 100% private WooCommerce store - Some websites want to hide a whole WooCommerce store from public view so that customers must log in or enter a password to access it.
  5. WooCommerce auto-login links - Let customers log in more easily by clicking on a personal login URL. No more usernames or passwords!

With nearly 2 million using WooCommerce sites according to the latest WooCommerce stats, there are plenty of people looking for all these login options.

Which type of customer login is best for my WooCommerce store?

I've created a quick quiz to help you with this. Answer the simple questions about your requirements, and the quiz will recommend the best WooCommerce customer login plugin for your website.


Option 1 - Public WooCommerce store with guest checkout

Most WooCommerce stores let anyone view and buy their products, whether or not they're logged in.

How to enable guest checkout in WooCommerce

  1. Log into the WordPress dashboard and navigate to WooCommerce → Settings → Checkout.
  2. You'll see a box with the label 'Enable guest checkout'.
  3. Tick this box and customers will be able to purchase without logging in or creating a user account.
WooCommerce guest checkout

How to prevent user account creation in WooCommerce

If you like, you can prevent customers from creating user accounts at all. To do this, go to WooCommerce → Settings → Accounts. Untick the boxes to enable registration on the Checkout and My Account pages. This will prevent customers from registering for your site at all, so you don't need to provide a login page.

WooCommerce prevent user account creation

Check out this free Helpie WooCommerce FAQ plugin which helps to create an FAQ section on your WooCommerce product page to easily answer customers' questions about the products.


Option 2 - Public WooCommerce store with mandatory user accounts

How to add a Register/Login page to WooCommerce

WooCommerce login register
When you first install WooCommerce and run the Setup Wizard, there's an option to automatically create all the essential pages for your store. Do this, and you'll see a 'My Account' page in your list of pages (along with other new pages for shop, cart, and checkout).

The WooCommerce login shortcode [woocommerce_my_account] will appear on the page. You can use this page as your register/login page, for example by linking to it from your header or sidebar.

The WooCommerce login/register form works as follows:

  • Guest users will see the WooCommerce login form, possibly with a registration form. To include the registration form on the login page, go to WooCommerce → Settings → Accounts and tick 'Enable registration on the "My Account" page'.
  • Logged-in users will see their Account page, with their order history, profile, and other information.

You can add the WooCommerce login shortcode[woocommerce_my_account] anywhere else on your website to create extra login forms. There are other plugins available to do this such as Sidebar Login and Woocommerce Login / Signup Lite. These let you create more complex WooCommerce login forms. However, you only need an extra plugin if the built-in WooCommerce login shortcode isn't suitable for you.

Tip: If you want to control where users are redirected after they log in, try Peter's Login Redirect. It's easy to set up and we've used it on lots of our client's websites.

How to force WooCommerce customers to log in or register before they buy

  1. In the WordPress dashboard, go to WooCommerce → Settings → Checkout.
  2. Untick the 'Enable guest checkout' box. This will force users to create an account when they buy from your WooCommerce store.

You can further configure how user accounts are created in WooCommerce → Settings → Accounts. This WooCommerce page has several settings such as whether to include a registration form on the checkout page and whether to automatically generate WooCommerce customer login usernames and passwords.

There's also a box to display a login reminder on the checkout so that existing customers can log in. This is really useful if guest checkout is disabled, as you need to make it easy for customers to log in.

Note: If a customer completes checkout without logging in then an account will be created for them behind the scenes. They will receive the login details by email so that they can log in the next time they purchase from you.

WooCommerce social login

WooCommerce social login
As well as the standard WooCommerce login facility, you can let customers log in with their social media accounts. With WooCommerce's social login, you create a public store as usual so that anyone can browse your products. As part of the checkout, they can log into your website using their social media accounts.

You might offer social login in addition to - or instead of - the option to register directly on your WooCommerce website.

Research suggests that over 77% of customers prefer to log into WooCommerce or other websites using social media. This is hardly surprising given that it saves them the hassle of creating a new WooCommerce account for your website and remembering their logins. (And of course, WordPress insists on secure passwords these days so they can't just log in with an easy-to-remember password!)

Back in 2014, I wrote about a 'deadly embrace' caused by WordPress social login plugins. At the time, the available plugins conflicted with built-in WordPress user accounts. Things have improved since then but if you're considering social login then I recommend you use the official WooCommerce extension. This offers the best chance of creating a user-friendly WooCommerce social login for your website.

How to add social login to a WooCommerce store

To add social login to your WooCommerce website, I recommend the official WooCommerce Social Login plugin. Once you've purchased the plugin, follow the instructions in the knowledge base to enter your license key and set it up.

Given the issues I previously identified with social login, I recommend thorough testing before it goes live. Make sure your WooCommerce login process works seamlessly. In particular, test the following aspects of the login process:

  • First time WooCommerce logins using each social network.
  • Repeat logins using the same social network.
  • Repeat logins using a different social network. (i.e. what happens if a customer forgets which social network they logged in with previously?)
  • Register using social login and then try logging in directly on the website using the Lost Password link.

Basically, try to break it and send a support request to WooCommerce if you discover any problems. Social login is a great idea but needs thorough testing to get right, as customers may forget how they previously logged into your WooCommerce store.

Get WooCommerce Social Login


Option 3 - Login portal with WooCommerce protected categories

WooCommerce Password Protected CategoriesOptions 1 and 2 are about letting customers log in to a public WooCommerce store. They might have to log in to purchase, but anyone can browse the store and see the products. You can also create a WooCommerce login system where customers have to log in or enter a password in order to see your products or other store content.

The WooCommerce Protected Categories plugin creates a login portal where different customers can see different products. It locks down one or more of your product categories so that no one else can see them. Customers must log into WooCommerce with the correct credentials to see the products inside their portal.

You can create separate categories for different groups of customers, and you can even create customer-specific products. Each customer logs in and views the restricted products that they have access to.

Who needs protected product categories?

You can use WooCommerce Protected Categories in several ways:

  • Show products from protected categories in the public areas of your store. When someone clicks a protected product, they must enter the password or login to view the single product page or purchase. This lets you display all products in the public store, while only pre-approved customers can buy protected ones.
  • Hide protected categories and products from the public store. Alternatively, you can hide protected WooCommerce categories and their products from public areas of your store. Authorized users can log in and be directed to the correct hidden category. This is perfect WooCommerce wholesale stores or customer-specific products where you sell different products to each customer.
  • Hide your entire WooCommerce store. Finally, you can put ALL your products within one or more protected categories. This way, customers have to log in before they can view your products or buy. (Tip: While it's possible to hide your whole store with this plugin, you might prefer Option 5, below. Both plugins let you create a WooCommerce hidden store)

How to create protected categories in WooCommerce

You can read full setup instructions in the plugin knowledge base. Here's a quick guide to get you started:

  1. First, get WooCommerce Protected Categories.
  2. Install and activate the plugin.
  3. Go to WooCommerce → Settings → Products → Protected Categories and enter your license key.
  4. Change any settings such as customizing the text on the password WooCommerce login page, and hide protected categories from the public areas of your store.
  5. Now, go to the product category that you want to hide behind the WooCommerce login page. You'll find this in Products → Categories. The plugin has added a new 'Visibility' section with options to password protect the category or make it private. Choose 'Protected' and either password protect the category, or restrict it to specific users or roles.
  6. Repeat step 5 for all the categories you want to protect.

Finally, test your WooCommerce protected categories from different customer login scenarios. For example, try it when you're logged in and out of the website. Also, try it before and after you log in to a category.


Option 4 - Create a login-only store

WooCommerce store login

WooCommerce Private Store forces customers to log in to your WooCommerce store before they can see your shop page, products, categories, or any other store content. It's a simple but effective plugin to hide WooCommerce from public view, without affecting the public parts of your site.

By logging into their user account or entering a simple password on the WooCommerce private store login page, customers can unlock the store and access the products and other content inside. Your public users won't even know you have a WooCommerce store unless you decide to link to the WooCommerce login page. (In which case, they will be able to see the WooCommerce login page but none of the content behind it.)

How to hide your whole WooCommerce store behind password protection or a user login form

The plugin knowledge base contains full setup instructions for WooCommerce Private Store. I've also provided details below. Setting it up literally just takes a few minutes:

  1. Buy the plugin from https://barn2.com/woocommerce-private-store.
  2. Go to WooCommerce → Settings → Products → Private Store.
  3. Enter your license key and change any settings such as customizing the WooCommerce login form text. Either choose a password to password protect WooCommerce, or tick the 'Logged In Users' option to automatically unlock it for logged-in users or specific roles.

Once you've saved the settings page, your whole e-commerce store will be protected. Customers will have to log in or enter the password before they can see ANY WooCommerce content such as the main shop page, products, categories, etc. Your WooCommerce content will also be blocked from search engines, so it's a simple yet secure way to make WooCommerce private.

WooCommerce Protected Categories or Private Store?

I realize that the plugins mentioned in options 4 and 5 are quite similar. You can use them in similar ways but they can also be used very differently in terms of WooCommerce login options. Check out my article and quiz on which WooCommerce protection plugin to use.


Option 5 - WooCommerce auto-login by URL

Finally, you might want an easier way for your WooCommerce store's customers to log in.

WordPress and WooCommerce auto login plugins provide a dynamic link that automatically logs customers into their accounts. This saves customers from having to remember or store usernames and passwords. All they need is their personal auto-login URL.

You can use this option with options 1, 2, 4, and 5 listed above.

For full instructions, check out our separate step-by-step tutorial on how to set up WooCommerce auto-login URLs.


What type of WooCommerce login do you use?

As you can see, there are many types of WooCommerce login designed for different types of stores. I hope this guide has helped you to choose the right login method for your WordPress site and to set it up properly.

How do you allow customers to log in to your site? Are there good WooCommerce plugins I've missed? What pitfalls did you come across and what would you advise other WooCommerce users? Please add your comments below.

129 Comments

  1. Just getting started with Woocommerce and I don't quite understand the rationale re 'my accounts'. In our case, we want new clients to provide us with contact information (we are planning to use a Jotform linked to Zapier to do this) and store that data on our site, but there's no reason to have clients to have a visible my account page. All we want is to have that client information available so that we can populate an order page without having clients reenter all their information. Woocommerce should make this easy, but it isn't.

    • Hi, Richard. Thanks for your comment. For what you'd like to achieve, I suggest you look into integrating Jotform with WooCommerce (I suggest you contact official WooCommerce support for the best advice about whether this is possible and how). In connection with what you mentioned, you can also consider enabling guest checkout or prevent user account creation in WooCommerce, which we both mention in this article. I hope this makes sense and helps point you in the right direction. Cheers.

  2. Hi
    I`m using the shortcode [woocommerce_my_account] as my login page, but users can make accounts without any necessity for entering their email or username. It has happened that lots of people login to my website without any enforcement of entering valid emails or usernames. As a result, I`s really dealing with spams on my page of users in WordPress dashboard. I have also used Google recaptcha protection system, but haven't been able to cope with the problem just mentioned. Is there any way to make entering emails or ticking Google recaptcha option necessary or not? Please help me about this problem.
    Thanks in advance

    • Hi there,

      What worked for us when we had to address spam signups was installing Akismet. It immediately achieved a huge reduction in spam , which was reduced from dozens per day to 5-10. For additional tips and the best advice, I suggest you also contact official WooCommerce Support.

      I hope this helps point you in the right direction. Best regards.

  3. I am facing the problem that user can only be logged in through username not by email address whereas the option is given there. they come up with error

    " Error: the username forexample@gmail.com is not registered on this site. If you are unsure of your username, try your email address instead.

    though users is already been registered through the tried email.

    kindly help me in this regard

    Thanks

    haris waheed

    • Hi Haris, thank you for your comment. May I ask which of our plugins you are having trouble with? It sounds like this issue can get quite technical, I recommend contacting us via our support center so that we can discuss it in more detail. Cheers and have a nice day.

  4. WooCommerce is the best way to grow your online store among your targeted audience. In this article, we have been told about different login of WooCommerce which can prove to be very helpful. Thanks for your precious post.

  5. When a user trying to register with a mail which is already registered, they should get notified that this mail already exists. But my wordpress site (woocommerce) accepts it. How to rectify it?

    • Hi, Arulneri. I'm sorry to hear you're having difficulty with this. You're correct that when a user tries to register or sign up on your site with an email address that is already registered or in use, it should not be accepted. An error message should be displayed, such as "An account is already registered with your email address. Please log in."

      To resolve this, I suggest you check if the issue could be due to a conflict with the theme or another plugin. To do so, temporarily switch to a default theme (e.g. Storefront by Automattic) and deactivate all the plugins apart from WooCommerce, and see if it resolves the issue. You can then reactivate everything one by one to find out which causes it.

      I hope this helps. Should the issue persist, I suggest you contact official WooCommerce Support and ask them to kindly assist you with this further.

  6. Hello, I'm having an issue with my customer account creation profile on my WooCommerce website. It leads users to the wordpress wp-login page instead. Please help. Thank you.

      • Hi Salo, thanks for your comment. Please see my colleague's (Edge) response (dated 2nd Oct) regarding this issue.

        We hope this helps. Thanks!

    • Hi, Dami. I'm sorry to hear this and thanks for asking. The issue you're experiencing could be due to the options that you've set under WooCommerce > Settings > Accounts & Privacy in the WordPress Dashboard of your site. Should you continue to have difficulty with this, I suggest that you contact official WooCommerce Support for the best advice to resolve it. I hope this helps and points you in the right direction should you need further assistance with WooCommerce on your site. Cheers.

  7. Hi, howdy? I wondering if there is a solution to disable the login or register option when an account is already logged in? Thanks in advance

    • Hi, Ahmad. You can do/implement this by adding it as customization or a bespoke feature. You may also reach out to WooCommerce Support regarding plugins that can control the visibility of Menu Items e.g. If Menu. You may also refer to the official WooCommerce Docs. Hope this is helpful!

  8. This is a company store, but we do not want to have to create users, and manage them, I want customer account creation to be limited to our corporate domains. Is this possible. I find snippets and plugins for WP but they do not seem to work for Woo.

    • Hi, Jeff. You or your developer can achieve this via custom coding to add a domain name check for the email address field in the new user registration page on your site.

      If you're unfamiliar with this or don't have a developer who can do this for you, then I recommend posting a job on Codeable where their pre-approved WordPress experts will send you a quote. We have partnered with them to provide plugin customization for our customers. Codeable has several developers who are experienced in WordPress and WooCommerce, as well as in customizing our plugins. To request a quote from them, select Domagoj Kovacevic, Krasen Slavov, Onur Demir, Liam Bailey, Nitin Yawalkar and Felipe Elia as your preferred experts.

      I hope this helps. Let me know if you have any more questions. You can also enquire in more detail via our dedicated Support Center. Thanks!

  9. Nice content Katie Keith!
    Information was very helpful for me.

  10. Hi. I'm currently setting up a site with woocommerce where we wish to use the function "Hide protected categories and products from the public store. The reason for this is that the store is initially ment for our employees but we also want to make certain product available for the public. However we wish that the login password will be equal til the AD password used for all other systems at work. I know that there is a custom Azure AD pligin, but will this work as described with this plugin restricted to woocommerce? The alternative is to give the employees a generic password if that's possible. But Azure AD login to hidden products will be preferred.

    • Hi Geirr,

      Thanks for your interest in our WooCommerce Protected Categories plugin.

      Our plugin allows you to password-protected categories or restricts categories to only specific roles or individual users. A quick search for 'Azure AD' plugin shows that it's used as a single sign-on to your site. Seeing as both plugins provide ways to access a hidden/protected category, might cause conflict between the 2. I suggest you only use one type of authentication.

      If you have any questions/concerns, kindly fill up a form at our Support Center so we can get back to you much sooner.

  11. Hi! When a new user creates an account on my site, they're not able to enter their own password, an email will be sent to them. However, I have un-checked the "When creating an account, automatically generate an account password" box under WooCommerce > Settings > Accounts & Privacy, and a password field still isn't showing up. Any thoughts?

    • Hi, Jordan. I appreciate the concise details. You're correct that unchecking that option should then allow users to enter their own password on account creation.

      The issue you're experiencing could be due to caching. If the password field doesn't display in the account registration on your site, my first suggestion would be to check if the account creation page you're viewing could be a cached version from before you changed settings.

      I advise that you clear/delete/empty all and any possible sources of caching on your site (e.g. via a caching plugin or a server-based caching service such a Cloudflare) and computer/device (e.g. browser cache; or simply use a different browser or device).

      I hope this helps. Should the issue persist, I suggest you contact please contact WooCommerce support or refer to the official WooCommerce Docs. Thanks!

  12. Hi there,

    is there a possibility to force a registration for specific products or categories of products only?

    E.g. if someone buys an ebook he doesn't need to register but if he buys a subscription he needs to register (otherwise I won't be able to deliver the services included in the subscription).

    Cheers, Felix

    • Hi, Felix. I hope you'll understand that the WooCommerce > Settings > Accounts & Privacy > Account Creation options are global or site-wide (for all products) by default. I'm afraid I'm not aware of a way or any plugin that might allow you to set this at the product level, for only specific products or categories on your site.

      Hence, for the best advice about this, I suggest that you please contact WooCommerce support or refer to the official WooCommerce Docs.

      Alternatively, you could also explore the possibility of implementing this as a customization or via custom coding on your site. If you're unfamiliar or unsure about this and don't have a developer who can do this for you, then I recommend posting a job on Codeable where their pre-approved WordPress experts will send you a quote. We have partnered with them to provide plugin customization for our customers.

      I hope this helps point you in the right direction. Please let me know if you have any more questions. Thanks!

  13. Hi, is there a way to prevent WooCommerce/woomemberships from creating a user account if the user then decides not to complete their order?

    • Hi Andrew, as of the moment, I see no automated way to delete an account created during checkout if the order is not completed. An option would be to go to your WordPress dashboard and then go to WooCommerce -> Customers and sort the table via Date Registered, Orders, or Total Spend to see which customers are newly registered and have no order. If you have any questions or concerns regarding our plugins, you can get in touch with our Support Center. Thank you.

  14. Hi and thanks for your notes really useful.
    I'm just getting to grips with Woo and WordPress that i've set up for our new site.
    I started off using Ultimate Member to create a registration and login for customers but am I right in thinking that I should do all this with Woo?
    Thanks in advance - Stephen

    • Hi, Stephen. Thanks for your kind words. You can opt to use the built-in WooCommerce login shortcode if you can do with a simple registration/login form. However, if you need to create a more complex WooCommerce registration/login form with additional features e.g. user role editing, content restriction, then you can use an extra plugin of your choice i.e. Ultimate Member plugin. If you have more questions, you can send us an enquiry via our Support Cente.

  15. Hi,

    Thanks for your comment. I reviewed our title and a couple of paragraphs after, but I couldn't find any typo. Please, could you let me know where it is so I can correct it?

    Looking forward to your response.

    • By looking at the username and the URL in the the username is pointed at, it seems like it is an automated generic comment. I don't think there's a typo either Jae.

      Have an awesome rest of the week!

      • Thanks for letting us know, Miguel! I've now deleted the comments from the said user.

        Have a great week to you as well!

    • Hi, Holly. Thanks for your comment. Can you please let me know what you meant by the guide being 'valid'? You can send us more details and contact us much quicker via our dedicated Support Center. Best regards.

  16. i tried to open the website on my iPadd Mini but it never
    works help me please what am i doing wrong

    • Hi, Velva. I'm sorry to hear you're having difficulty accessing one of the links shared in our article. Please could you specify the exact address/URL you're trying to visit on your iPad Mini so that I can replicate and investigate your concern. Thanks.

  17. thank you this is great. I just thought I'd let you know there is a typing error in your opening paragraph though?

    • Hi Milan,

      Thanks for your comment. Well spotted! I've now fixed the error at the beginning of the opening paragraph.

      If you have any other questions/concerns, kindly fill up a form at our Support Center so we can get back to you much sooner.

  18. You've included some scenarios I hadn't thought of before. However, I was looking to verify whether it's possible to turn off the global WordPress setting to allow anyone to register, and limit user account creation to WooCommerce purchases only. In other words, create a user account only when someone completes a purchase. Is that possible? Thanks!

    • Hi Alan,

      Thank you for your comment. To do this, go to your WordPress settings page and uncheck "Anyone can register"

      Then go to your WooCommerce Settings page. Go to Accounts & Privacy.

      Under Guest Checkout, uncheck "Allow customers to place orders without an account".

      Under Account creation, check "Allow customers to create an account during checkout."

      If you have any other questions/concerns, you can also fill up a form at our Support Center. Thank you.

  19. Thanks a lot for the great woocommerce login plugin, you article just solved my big problem.. the private store...

    -Michael Norman

    • Hi, Michael. Thanks for letting us know! I'm glad to hear using WooCommerce Private Store was the solution you needed for your site.

      Should there be anything that we may assist you with, just let us know. You can also get in touch with us via our dedicated Support Center. For quick reference, you can also browse our plugin's Knowledge Base articles and tutorials.

      Best regards,

  20. Hello there. Thanks for letting us know. I've corrected "several ways do to set it up". Well spotted!

  21. Hi Katie,

    I was searching for this issue over the internet and really found your site and especially your this article on guest checkout in WooCommerce. But i am not a professional web developer so i want to ask you that may i apply this to my site which is given in your form name area. may you please check it?

    Thanks in advance!

    • Hello there!

      Thanks for finding our article and for chiming in. I reviewed the page on your site at https://www.dumpsreseller.com/page/ete-to-pdf and it appears to use a combination of a custom dropdown list with a PayPal buy or pay now button. Please note that our suggestions for adding a WooCommerce login on your site for your customers presupposes you're using the free WooCommerce plugin to sell your products.

      Should you have any other questions, please let me know. You can also get in touch with us via our dedicated Support Center.

      Cheers,

  22. Katie, this is great! In the private store option, is it possible to assign certain products to specific customers? I.e. rather than use the "checkout" element of Woo Commerce, I am trying to create a login portal for customers to see the products they've already purchased so that they can reference product documentation, schematics and procedures related to said products.

    • Hi Billy, WooCommerce Private Store just hides your entire store from public view and once someone unlocks it, they can see all the products. It sounds like you need our other plugin, WooCommerce Protected Categories - which you can use on its own or alongside WooCommerce Private Store. That has an option to select which specific users can see each category and its products, which remain hidden from everyone else.

  23. Uhmm.. this "ultimate guide" was written more for link clicks and "seo" The "Content" is thin and DOESNT give any clear Steps on How To Do What first etc, Terrible WASTE of TIME. FU

    • Hi, J. I'm sorry you feel that way. For more details about each option discussed, please follow/see the provided links. You are also free to search for additional information about the specific type or method of WooCommerce login that you'd like to use. Also, please be reminded to keep our comments section free of offensive language. Stay classy and keep safe.

  24. Pretty! This was an extremely wonderful post. Many thanks for providing this information.

  25. Hi,
    I am facing a problem when I try and login with any customer id on my website I get the error "the image code is incorrect! try again! woocommerce" and I am then redirected to wordpress login page. I can use the customer id on the wordpress login page and then everything works fine. But the pop-up error every time a customer logins looks bad. Is there anything I can do to resolve this issue.
    Thanks,
    Faraz

    • Hi, Faraz. I'm sorry to hear you're having difficulty with the WooCommerce login page on your site. Please may I know exactly which method or type of login mentioned in our article you're using, so that I can better understand the issue you're experiencing and be able to advise you best. Thanks in advance!

      You can also get in touch with us via our dedicated Support Center.

  26. hi, I'm having problen in gust checkout. There is no checkout tab on settings of woocommerce. I've gone to the checkout option of customizer tab but there is no option of gust checkout

    • Hi, Aminul. Thanks for pointing this out and my apologies. I see what you mean. We published this article in 2017, so I hope you'll understand that certain parts of the information given are outdated. I will relay this concern to our team for review. In the meantime, please could you contact WooCommerce.com Support or refer to the WooCommerce plugin's official documentation for the updated plugin options.

  27. Thanks for the helpful article. I have a question maybe someone could chime in on... I've been able to edit all of the WooCommerce pages, except I'm not sure how to edit the my-account page for when a user is logged out. This is the screen where it shows "log in or register". I'm not a fan of the styling of the page, yet am not sure how to access this page since it shares the same url as when logged in (ex: http://www.sitename.com/my-account).

    And does anyone know of a way to change the WooCommerce fonts globally? I find it odd that there's no settings in the WooCommerce or customizer (aside from a couple of color change options) to edit the fonts and colors for the various WooCommerce pages. It seems it would borrow from the main font used for the theme or the main font set in customizer, but it doesn't. It uses monotype font and all text is blue by default. Having to edit all pages manually is a pain.

    Any input would be greatly appreciated. Thanks.

    • Hi, Derek. I'm glad you found our article helpful and my apologies for the late reply.

      You can create a registration and/or login page using the Account page that comes with WooCommerce itself (which displays a register/login form to logged out users), or using a plugin such as Theme My Login or Profile Builder.

      Usually, WooCommerce does indeed inherit the styling and CSS it uses on the pages that it generates on your site. If this is not happening on your site, you could check/test if this issue could be due to the theme you're using by temporarily switching to a default theme such as Storefront and then see if WooCommerce inherits the styling of the fonts and colors set in the Customizer. Should the issue persist and you continue to have difficulty with this, I suggest you contact WooCommerce Support or refer to the official WooCommerce Docs for the best advice about this.

      I hope this makes sense and helps. Should you have any other questions, you can contact us much quicker via our dedicated Support Center. Best regards.

  28. Hi there, Thank you so much for your article. I have a problem in my shopping cart. Currently when customers opening https://innolabcafe.com.au/online-order/ page>select the item>add to cart, there is no option to login for the regular customer. I only added the sign up form which is not enough. I need to have :
    1. Customer goes to checkout
    2. If Logged In, continue to checkout. If not logged in, go to a page with login and register forms.
    3. Once in this page, if customer logs in or register, continue to Checkout.
    I appreciate if you let me know how to solve this problem.
    Best Regards

    • Hi, Tejas. Sorry for the late reply. Please may I know which of the different WooCommerce login options you're using?

  29. Thank You for this piece. My concern is with abandoned carts. Gotta have an email address in order to address an abandoned cart. On the other hand, sometimes, a request for an email address is the reason that someone might abandoned a cart. Any suggestions about processes that might address this issue. You quiz side steps this concern entirely. But I do appreciate your work.

    • Hi, Mark. Thanks for your comment and my apologies for the late reply. You can get in touch with us quicker via our dedicated Support Center.

      I forget where, but I've read that the average online store can lose 60% to 70% of potential sales to cart abandonment. You can eliminate abandoned carts by choosing a WooCommerce login type that prevents users from proceeding without submitting their email address, or allow them to checkout as a guest. You could also look into using abandoned cart plugins that have a popup modal that appears immediately and asks for the email address. This way, you'll have somewhere to send notification emails, should a cart be abandoned.

      Thanks,

  30. I have 2 types of users using the web site . the sale person and the buyer person . the buyer person is well covered . why not the sale person not well defined and well manged for his products . in others words the sale person can not put his products in the system . the admin only who can do that . please i want some help and clarification on that important part

  31. That’s great tutorial but if you can guide how to add fields in registration form manually? The fields are not adding in the registration form using a plugin. I am trying to add it manually using a code that I have seen here in a complete guide https://wpitech.com/add-woocommerce-registration-form-fields/. Is there any alternative to do this? It would be really helpful if you could help me to add fields in the registration form.

    function Woo_register_fields() {?>

    *
    <input type="text" class="input-text" name="registration_name" value="" />

    <?php
    }
    add_action( 'woocommerce_register_form_start', 'Wooregister_fields' );

    • Hi, James. Sorry to hear you're having difficulty with manually adding fields to the WooCommerce registration form. For assistance with using custom code, I suggest you post a job on Codeable where their pre-approved WordPress experts will send you a quote. We have partnered with them to provide plugin customization for our customers. Codeable have several developers who are experienced in customizing our plugins - to request a quote from them, select Domenico Nusca, Krasen Slavov, Onur Demir, Liam Bailey, Nitin Yawalkar and Felipe Elia as your preferred experts.

  32. Eu realmente estava a procura de um plugin para ocultar os preços da loja, mas antes o clinete poder fazer o cadastro para ver os preços, minha loja é Hospebrasil, mas alguns dos plugin s aqui apresentados gostei bastante das suas funcionalidades, acredito que pra quer quero servirá. Quro muito agradecer pelo belo artigo e dicas com solução. Obrigado.

    • Hi, I've translated your comment from Portuguese:

      "I was really looking for a plugin to hide the prices of the store, but before the client could register to see the prices, my store is hospebrasil, but some of the plugins presented here I really liked its features, I believe for whatever I want to serve. I very much thank you for the nice article and tips with solution. Thank you."

      Glad to hear the info is helpful and practical for your needs. You can implement what you mention by using the Hide Price Until Login plugin, then ensure to also have a link to your new user registration on your login page/screen. Some login pages also have the new user registration form displayed on the same page.

  33. How do I make possible to go to the login page after clicking on "add to cart", if the customer is not logged in?
    related to the e-commerce site and woocommerce plugin,

    • Hi, Pradip. Sorry for the late reply. If a user is not logged in, then what they see will depend on which type of WooCommerce login you're using on your site, as mentioned in options 1 to 6.

  34. I have account creation and login requred and such, so how do I force a login to expire?

    As in if there's no activiy for a customer in say N days then the next time they come to the site they have to login in again to access their my account page?

    drc :)

  35. Hi
    Great article. Thank you.
    I have a newbie question. I have created a site to sell second hand office chairs etc. I get quite a few people registering accounts. No purchase, just account registration. Why??? Now the cynic in me asks, is it SEO companies adding things like back links etc. Is it other people trying to hack my site by having an account. Are they using their account for a DOS attach elsewhere on the web. I know that all sounds very negative but I would like to be able to see exactly how they try and use their account. Is there any way I can do this. Track their exact usage.
    Many thanks in advance.
    G

    • Unfortunately I don't know of a way to track this, and it might conflict with GDPR legislation anyway. It does sound spammy to me.

      You could follow these instructions to stop spam registrations. Alternatively, you could remove your public registration page and just allow people to create an account as part of the checkout process. I can't think of any genuine reason why your customers would need to create an account outside of the checkout, so it will be more user-friendly for an account to be automatically created for them when they make a purchase.

  36. Thanks for this; it was very clearly laid out and well explained. I have one question though.

    We created a Woocommerce store and inadvertently did NOT give people the option to create an account. But some customers (684 of them :( ) want to log in to see their order history and re-download digital products. Is there a way to create a user accounts for them, that gives them that access, from their WooCommerce orders?

    Thanks very much,
    -Nik

    • Hi Nik, there's an option to change the Customer/User on the 'Edit Order' screen for each order in WooCommerce. You could therefore create a user account for your 684 previous customers, edit each of their orders, select the correct customer, and re-save the order. Obviously this would be very time-consuming for 684 customers (some of whom presumably have multiple orders). You could potentially get a developer to write a script to do this programatically, but realistically this might take even longer than doing it manually because it's a complex task to automate.

      • I also had this question. If I think it is going to be a problem in the future, should I set it up to require customers to enter a username/password or to login with social media? I worry that customers will not understand the benefits of creating an account when they purchase. Furthermore, can they go back and create an account after they purchase to be able to re-download purchases or is it only on my end that I can do that?

        Thank you!

        • Hi Maia, you can use WooCommerce with any WordPress social login plugin if you like. Just consider the user experience carefully if you offer both options, as people can sometimes get confused if they forget that they previously logged in via social media and try to login directly on your website which won't work.

          If a customer creates an account later, it won't automatically port over their previous orders. You would need to manually edit their previous orders to change the user associated with each order.

  37. Newbie question - how do I access the woo user/customer account page from the dashboard?

    thank you

    site under development - all plugins are off for testing

    • Hi Mitch, it's in the 'Users' section of the WordPress Dashboard. WooCommerce uses the standard WordPress user accounts, and doesn't create separate ones.

  38. I would like a private store based on user role. For example, I want to use WooCommerce Private Store but only allow a certain logged in role access the entire store. If they aren't that role or not logged in they can't see anything. If they happen to find a link to a product, I want it to redirect the user to the home page. Can you help?

    • Instead of WooCommerce Private Store, you need our WooCommerce Protected Categories plugin. This lets you hide one or more of your product categories by user role, whereas WooCommerce Private Store can only unlock the store for ALL logged in users regardless of their role.

      You can use WooCommerce Protected Categories to make your entire store private based on user role. Simply use it to restrict ALL your product categories to the appropriate role. That way, only logged in users with that role will be able to see any of your categories or the products within them.

      WooCommerce Protected Categories has an option to choose what happens (e.g. a redirect) if users with the wrong role try to access a restricted product.There's also a setting to choose whether or not links to these products are hidden from the public areas of your store, so you can hide these products completely if you like.

      Let me know if you have any more questions.

  39. Hi I've been asked to price and build a student storage site servicing six universities. Students would need to order boxes and book collection and delivery slots depending on the university. Eg Uni A on Mondays 9-1pm, uni B Mondays 2-5pm, uni C Tuesday 9-1pm etc. We would also need the functionality for them to log on and manage their account and reschedule times online. Do you know what would be the best option? I want to use Divi and Woocommerce. Currently considering WC bookings, WC delivery slots and WC customer login. But this is all new so any advice welcome!

    • Hi Jo, yes I think that sounds like a sensible combination. WooCommerce Bookings is a good way to let students book the storage boxes on the correct dates; and any WooCommerce Delivery Slots plugin would be a good way to let them choose when they will receive them.

  40. Hi is there a way where login with a generated password is made automatically when customer purchase product (such as purchase a membership )?

    • This is part of the login system that comes with WordPress/WooCommerce. If you disable guest checkout then an account is created whenever someone makes a purchase, and they are immediately logged into their account. There's a setting in WooCommerce to automatically generate the password.

  41. Do you have any plugin which allows me to login with a unique activation code/ coupon code into a private woocommerce site.

    • You can use our WooCommerce Private Store plugin to hide the WooCommerce parts of your store (shop, products, product categories, cart, checkout, etc.) from public view so that only logged in users can see them. WooCommerce Private Store is compatible with any WordPress plugin that adds extra functionality to the user login system, such as unique activation codes or login via URL. The only one I'm aware of is URL Based Login although it looks like this may not actively be maintained, so you may nee to do some further research. However, I can tell you that WooCommerce Private Store should work with any plugin that allows users to login to their account on your WordPress website.

    • Hi Mike, sorry I haven't seen any plugins for this. However, it's worth checking out plugins that provide front end WordPress registration pages such as Theme My Login and Profile Builder, as they might have what you're looking for.

  42. How can we disable the default fron New User Approve plugin? or how we can apply woocommerce template to this one?

    Thanks

  43. Hi,

    I'd like to buy the plugin, but still not sure if this can be achieved:

    I'd like to give to customers passwords/logins and make them see different prices according to the role on site (Dynamic pricing plugin). But I'd also like to hide the store until the user has logged in. So I need one login/password form that unlocks the store and logs users in into their accounts. No guest shopping, no registration form. The store will work in catalog mode with YITH Woocommerce Request A Quote plugin (already bought).

    Thanks,

    • Hi Adrian, WooCommerce Private Store will work with Dynamic Pricing, so you can hide your entire store from public view and then show different prices for different user roles using Dynamic Pricing. WooCommerce Private Store integrates with WordPress user accounts, so your customers can log into their account to simultaneously unlock the hidden store AND view their role-specific pricing.

      However, the Private Store plugin will hide your products from public view completely so you couldn't use a catalog mode/request a quote plugin to show products to guests. Instead, perhaps you could create a contact form using Contact Form 7, Gravity Forms or similar with details of each product and a tick box next to each one. Guests can tick the products they're interested in and submit the form to request a quote. That way, the 'products' listed on the contact form will be completely separate from WooCommerce and won't be hidden by WooCommerce Private Store.

      Sorry this isn't a complete solution to you, but I hope it's a useful suggestion anyway.

      • Hi Katie, thanks for your reply. It seems to be OK - i want the store to be in a catalog mode for the logged in users ('request a quote' instead of 'add to basket'). There will be no guest shopping and no public products at all.

        • Thanks for clarifying. In that case, that combination of plugins will work perfectly. In the Request a Quote plugin settings, you need to tick the box to hide the Add to Cart button but don't tick the box to hide the price.

  44. Hi
    I want design a store that has 3 types of user:

    customer
    coworker
    producer
    1 and 2 just different to see the price, for coworker less than other 3 after submit and accept by admin, has profile to add or delete some product just in his/her dashboard. How can i design the submit form for my users to access in account??

    • Hi Sahar, create the 3 user roles with the free User Role Editor plugin, then use the official Dynamic Pricing plugin to show different prices depending on the user level. You can create a registration form with the free Theme My Login plugin, which has a feature that lets you hold new registrations for approval before they can login and start buying.

      Not sure what you mean about adding and deleting products, but if you want producers to be able to sell their own products on your website then you can do this with the official Product Vendors plugin.

  45. Greetings Katie,

    I'm about to launch an e-commerce website (p.s. newbie to WC). I've been searching for a specific feature and I'm unable to find it.

    I will be offering different pricing (ex: corporate discounts 15%, merchant discounts 20%, etc.)

    Instead of assigning the user role manually, I would like for the client to input a code I provided to them (ex: Store123) during the registration and this will determine their user role (discount). They will be able to make a purchase right-away.

    Is there such a feature available?

    Thank you!

    • Hi Philippe, there are plenty of user role pricing plugins that you can use, but you would need to do some custom development to assign a role based on a code entered during user registration - it's very unlikely that any plugins are available to do this. It is definitely technically possible, but would need to be done as a custom feature. If you don't have a developer who can do this for you then I recommend posting a job on Codeable to find someone good.

  46. Hi Katie,

    I currently have Woo Commerce on our side, with a Members Only side for using buying products. I want to make those products available to ALL users - on the Public side of the website. However the non-members need to pay a higher price, what would you suggest? Thanks Lisa

  47. Looking to secure the customer account sign up process. Seeing a lot of bots create usernames on our site. Is there a security option I'm missing? Thanks.

    • Hi Mike, do you really need a custom registration form? WooCommerce has an option to create an account during the checkout, and I doubt any real customers would use the separate registration form that appears on the login page. If you hide the registration form on the login page then it will probably stop your spam problem without affecting actual customers!

  48. First of all thanks for sharing your valuable suggestions with us. And you explained very clearly, after reading this article i got the best knowledge.

  49. Hey
    My customers can create an account but can't login again.The page just refreshes itself. Please help!

    • Hi Yunus, are you using the WooCommerce registration features for the customer account creation? This sounds like a caching issue so I recommend that you exclude the registration and login pages from the cache. If this doesn't help, you need to contact WooCommerce Support for assistance.

  50. This looks like what I need for our company website. What I am looking for is a solution where the user, after clicking a link to access the desired area of the site, will be prompted with a form, to either login or register in order to see the shop category items he wishes to access. Will I be able to create a situation like that with this product?

    • Hi, yes you can do this with WooCommerce Password Protected Categories. You can use the plugin to password protect as many product categories as you like. Create a central login form (using the shortcode [category_login]) and your customers will be directed to the correct category depending on which password they enter.

  51. Great article, almost what i am looking for!

    My perfect world would be customers visiting the store and having to login with social before they can see the products..then they can choose the products and proceed to checkout

    • Hi James, you could use any WordPress social login plugin with WooCommerce Private Store. Customers would visit your website and could only see the main pages, but none of the shop content. They can login using their social media accounts. Once they are logged into your website, the WooCommerce store content will automatically appear for them.

  52. Hi Katie, I appreciate this good article. I'm having issues with allowing an existing user to purchase with an existing email as a guest.

    Essentially the account gets created when a person purchases as a guest through the WooCommerce Subscription Extension. Then if a user comes back and wants to buy, they need to sign in before making a purchase. They can no longer purchase as a guest since the email exists in an account.

    The problem is that a customer may only need to log in 6 to 12 months later. They won't remember their login details to make a purchase. Going through password recovery is sure to impact sales negatively.

    How do we override this, so that guest checkout can be done regardless of an existing email / user?

    • Hi Pol, I don't think it's possible to purchase subscriptions as a guest, which means that user accounts are being created for your customers. That's why they are being asked to login when they try to re-purchase with the same email address. I recommend that you contact WooCommerce Support to ask if there's a way around this with their subscriptions plugin. The only other thing you can do is to make the login and password recovery system as clear as possible. For example, on our own website, we have added some custom text to the checkout page to explain to people why they are being asked to login and how to recover their password if they don't know it. That is a lot more user-friendly than the default, which wasn't clear at all!

      • Thank you Katie for this write up. I have a problem whereby guests who purchase my course do not receive login details in their mails. Please, what could be the cause of this

        • Hi, Samuel. I suggest you troubleshoot the issue by isolating different points in the process. Are you using a course plugin? If so, check if the default customer/user signup or registration's New Account email notification in WooCommerce itself works. As mentioned in the WooCommerce Settings Emails setup page;

          To ensure your store's notifications arrive in your and your customers' inboxes, we recommend connecting your email address to your domain and setting up a dedicated SMTP server. If something doesn’t seem to be sending correctly, install the WP Mail Logging Plugin or check the Email FAQ page.

          I hope this helps. Should you continue to have difficulty with the WooCommerce email notifications, you should contact WooCommerce Support for the best advice. Thanks.

Please share your thoughts...

Your email address will not be published. Required fields are marked *