By the end of this article, you’ll walk away knowing exactly how to use a WooCommerce hide price until login plugin. This allows everyone to browse your WooCommerce products, while only displaying prices and buy buttons to logged in users.
Some e-commerce store owners – particularly wholesale-only shops – need to display prices only on their public-facing website. In other words, they hide prices until login so that only logged-in users or wholesalers can see the product's prices and make purchases.
Unfortunately, out of the box, WooCommerce doesn’t let you show prices to logged-in users only.
If you’re in a similar situation, then there’s no need to worry! The good news is that there’s an easy solution to hide prices until login. In this tutorial, we’ll explain how to set up a WooCommerce hide price until login plugin - WooCommerce Wholesale Pro - in a few simple steps.
And the best part? We’ll show you step-by-step how to use WooCommerce to hide prices until login. It’s super quick and easy and there’s absolutely no technical knowledge required to follow this tutorial. This means that you can hide prices from logged out users on your own WooCommerce shop or wholesale store in no time!
Why hide price until login?
There are many different types of stores that want to let everyone browse their online store and view their product catalog, while hiding prices. Many times, these online store owners want to show prices, product options, and purchasing options to logged-in users only. As a result, it's important to hide prices and add to cart buttons from guest users.
Here are some examples of stores that typically hide price until login:
- Wholesale stores that don’t sell directly to the general public and only want to show prices to wholesale customers. A WooCommerce hide price until login plugin enabled everyone to browser your inventory, while only allowing pre-approved wholesale customers to see prices or purchase.
- Manufacturers that publish details of their products on their website but only allow approved resellers to purchase from them.
- WooCommerce members-only stores where people have to join a club or buy a membership before making a purchase. Letting prospective customers browse products without prices encourages them to create an account. This allows store owners to build an email list and retarget customers more effectively. In addition, it allows them to let visitors browse their products and increases their store’s online visibility.
Displaying your products publicly, while hiding prices and buy buttons from logged out users, is the perfect solution. You get the SEO benefits of having this important information available to all, and the business benefits of only allowing pre-approved customers to see prices or purchase.
Even though WooCommerce Wholesale Pro is designed mainly for wholesale stores, it’s the perfect solution for any online store wanting to hide prices and disable purchasing options for logged out users and guests.
How to use WooCommerce Wholesale Pro to hide prices until login
With the WooCommerce Wholesale Pro plugin, you can easily hide prices until login for your store’s visitors and customers.
Step #1: Get the WooCommerce Wholesale Pro plugin
The first step is to get the WooCommerce Wholesale Pro plugin and install and activate it on your WordPress website. You’ll receive the plugin files along with a license key. Copy this to your clipboard.
Log into your WordPress dashboard and head over to WooCommerce → Settings → Wholesale → General. Paste the license key in the License key field and click the Save changes button.
Step #2: Configure the plugin’s settings
From the same screen (i.e. WooCommerce → Settings → Wholesale → General), tick the checkbox next to the Hide prices until login option as shown in the screenshot below:
- Logged out users (non-logged-in users) will be able to browse products and view product pages as usual. However, they will not see the prices or add to cart information. This also applies to other user roles such as Subscribers. Put simply; they will only be allowed to browse the store in catalog mode.
- Logged in users with a non-wholesale role (e.g. Customers) will see the normal price for each product.
- Logged in users with a wholesale role will see the correct wholesale price for their role.
Next, we’ll show you how you can create WooCommerce wholesale user roles with wholesale pricing. If you're not building a wholesale store and are just using WooCommerce to hide prices from guests, then you can skip the next step.
Step #3: Add wholesale user roles and prices (optional)
Go to WooCommerce → Settings → Wholesale → Roles from the WordPress admin panel and click the Add new role button. You can either add a global percentage discount to the default wholesale role, or create extra roles - each with their own discounts.
If you want all new wholesale registrations to be assigned this user role automatically, tick the checkbox next to the Default role option. In addition, if you want to set exact wholesale WooCommerce prices for specific products instead of offering a percentage discount, tick the checkbox next to the Product specific pricing option.
Note: You can offer discounts to each wholesale user role based on the product category.
Click the Save changes button to proceed.
You can create as many wholesale user roles as you’d like by following the steps outlined above.
For example, if you want to create a members-only WooCommerce store, you would simply create user roles for the different membership you offer. You might have user roles for Bronze Members, Silver Members, and Gold Members.
Let’s take a look at what the online store will look like to guest users, logged in customers, and logged in wholesale users on the front-end:
And here’s what the single product page will look like:
It hides prices until login for visitors and guests. On the WooCommerce main shop page, guest users will only be able to see some product detail, including the product image, ratings, sales banners, and a Read More button redirecting them to the single product page. And, on the single product page, you’ll notice that both the product’s price and add to cart options are hidden.
In order to view product prices and purchasing options, customers will have to log into their accounts.
When a user with the Customer user role logs into their account, they’ll see regular product prices (i.e. without discounts). In addition to this, they’ll also see the product prices, purchasing options (including variations), and the add to cart button on the single product pages.
When a wholesale user logs into their user account, they’ll be able to see the product prices with the percentage discount applied to it (or the exact wholesale price you’ve set for the individual product). They’ll see the same wholesale rates on the single product page along with product purchasing options.
This way, they can add products to their shopping cart and proceed to the checkout page. All of this is possible without messing around with HTML/CSS code or adding code to the functions.php file via FTP.
List products without prices in quick order forms
If you're hiding prices from logged out users and guests, then your customers are probably already familiar with your products. As a result, they need a quicker way to select multiple products, choose variations, and add to the cart.
You can do this by using WooCommerce Wholesale Pro with the WooCommerce Product Table plugin, which comes bundled with it. It displays any or all of your products in a quick order form layout like this:
You can choose whether to enable the order form layout for guests and/or logged in wholesale users. It's an excellent way to speed up shopping, and therefore to increase your sales and conversions.
WooCommerce hide price until login
The WooCommerce Wholesale Pro plugin lets you hide the price on log out so that only customers who are logged into their accounts can see product prices and purchasing options. Wholesale users will be able to see wholesale prices on the wholesale store and single product pages whereas users with the Customer user role will see regular prices. They can then add products to their cart and proceed to the checkout page.
This way, you can encourage guest users to create an account and build your email list while increasing your store’s online visibility. Try it out for yourself!
You get a:
- Plug-and-play setup for the plugin.
- In-depth documentation (absolutely no way to get it wrong).
- Technical support is available if you need any help.
- 30-day money-back guarantee. Love it or get a full refund, 0 risk!
Get the WooCommerce Wholesale Pro plugin today to hide prices until login!