How to Hide Prices in WooCommerce

While it is true that pricing represents one of the core components of most online stores, there are some special cases where it may be better to hide prices from your customers. If this is something you think would be a good call for your WooCommerce store, you’re in the right place. We show you several ways to hide prices, but before we get into that, let’s examine a few situations where it would make sense to hide prices.

Why Hide Prices in WooCommerce?

Let’s say you have a wholesale store that wants to show prices only to verified wholesale customers and hide them from other regular buyers. For this you will need a store layout that does not show prices by default.

Another scenario is that you may want to use your website to increase the online visibility of your real-location business by only displaying a list of products that cannot be purchased online at your physical location. While this isn’t a great idea for any retailer (after all, you want people to buy as much as possible, and adding eCommerce to your website will do just that), it can be a good call for established brands. it is based on a particular aesthetic, traditional values, or a special kind of deception.

Also, just as some high-end stores choose not to have price tags on display items (so that people actually have to go into the store to find out the price), many luxury brands use the same strategy, with a message like “price on demand” instead.

Another situation where hiding prices would make sense is if you run a members-only website and want to convert your entire WooCommerce store into an online catalog using a catalog mode plugin. You can even make sure that only registered customers can see your product information. These are just a few of the cases where you might want to consider hiding prices in your WooCommerce store.

Now, WooCommerce does not come with a built-in price removal option. Prices are shown by default. Fortunately, there are several fairly easy workarounds that can be applied to individual product pages, shop page, or even specific product categories.

Without further ado, Here are a few different ways you can hide prices on your WooCommerce powered site. First, we will show you how hide regular prices on your individual (and all) productstogether How to hide wholesale prices using two different plugins?. Then, if you’re looking for an even more customized approach, we share a few different pieces of code you can use to hide prices manuallyso stay tuned.

In relation :  “A pole apart from his father” Draymond Green's son playfully plays hide and seek at his father's press conference

We will consider:

Hide Prices in WooCommerce Using the Price Change Header for WooCommerce Plugin

To hide the prices of individual and/or all products in your WooCommerce store, we recommend using this plugin: Change Price Title for WooCommerce. As the name suggests, this plugin also allows you to change the price title for all and individual products (for example, you can change it to something like “from $50”). There is also an option that will let you hide the price headers individually or on all product pages as well as other WooCommerce pages (like the Store).

Change Price Title for WooCommerce

You must first install and activate the plugin. Then, to hide the prices of all products, to go WooCommerce >> WooCommerce Price Header. Tick ​​the desired option Hide Price Title and click Save Changes.

Hide Price Title

You can also check the option named “Apply Above Options On All WooCommerce Pages” to apply all the above settings to other WooCommerce pages such as your Shop page.

Apply Options in WooCommerce Pages

To hide prices on individual products, access Products >> All Products and then go to the edit of the product whose price you want to hide.

Edit Product

scroll down Product information press the meta box and Developed tab. While there, “Hide Price?” You will see the option named

Edit Product Hide Price

After checking this option and Update With the button, the price of your product will be hidden.

Product Price Hidden

Also, by checking the “Applicable on All WooCommerce Pages” option, your prices will be hidden on other product pages, including your Shop page.

Applicable on All Pages

Hide Prices in WooCommerce Using the WooCommerce Wholesale Prices Plugin

If you have a wholesale store or B2B business then we recommend using the plugin named WooCommerce Wholesale Prices. This special plugin allows you to easily show or hide your wholesale prices and also change their user account to the new wholesaler user role so that they can see the wholesale price after login.

WooCommerce Wholesale

If you want access to more advanced features (such as creating unlimited wholesale user roles and limiting product visibility to specific user roles, among others), you can upgrade to: premium version of the plugin (starting at $49.50 per year for a single site).

After installing and activating the plugin, head WooCommerce >> Settings and click on wholesale prices tab.

wholesale prices

Later, choose Price Click on the tab and check the option named “Hide Price and Add to Cart button”. This will essentially hide wholesale prices from the Add to Cart page for all users who are not logged in to your site.

In relation :  How To Send SMS From Your WordPress Website?
Wholesale Prices Hide Price

shoot me Save Changes button at the bottom of the page when you’re done.

Manually Hiding Prices in WooCommerce Using Code

If you’re familiar with coding and want to have even more options at your disposal, you can always manually hide prices in WooCommerce. This can be done by going Appearance >> Theme Editor and then your code functions.php file.

Theme Functions

Alternatively, if you don’t want to edit your theme file directly, you can always add your custom code using a plugin like below. code snippets in its place.

To hide prices on all your products, simply add this code to your theme. function.php file:

add_filter( 'woocommerce_get_price_html', 'remove_price');
function remove_price($price){ 
return ;

In case you want to hide all prices for other users other than admin, you need to enter the following:

add_filter( 'woocommerce_get_price_html', 'remove_price');
function remove_price($price){ 
if ( is_admin() ) return $price; 
return ;

If you want to hide the prices on your shop page, enter the following snippet:

add_filter( 'woocommerce_after_shop_loop_item_title', 'remove_woocommerce_loop_price', 2 ); 
function remove_woocommerce_loop_price() { 
if( ! is_shop() ) return; // Hide prices only on shop page 
remove_action( 'woocommerce_after_shop_loop_item_title', 'woocommerce_template_loop_price', 10 ); 

Now, if you want to hide the prices of certain products, you can easily do that using the following code:

add_filter( 'woocommerce_get_price_html', 'hide_price_product_ids', 10, 2 ); 
function hide_price_product_ids( $price, $product ) {
$hide_for_products = array( 2490 );
if ( in_array( $product->get_id(), $hide_for_products ) ) {
return $price; // Return price for the all the other products

Let’s say you want to hide the prices of products belonging to a certain category. In this case, below is the code that should work:

add_filter( 'woocommerce_get_price_html','hide_price_on_taxonomy');
function hide_price_on_taxonomy( $price) {
global $product;
$hide_for_categories = array( 'shirts' ); // Hide for these category slugs / IDs
if ( has_term( $hide_for_categories, 'product_cat', $product->get_id() ) ) { // Don't show price when it's in one of the categories
return $price; // Return original price 

You should replace the ‘Shirts’ section with your own category name (i.e. the category of products you want to hide the price of). Of course, you can add multiple categories here if you want – just make sure to separate the different categories with commas (eg ‘shirt’, ‘pants’).

Wrapping the Jobs

Whether you have a wholesale business, a membership-only site, or a traditional real-life store and want to showcase your products without selling them online, hiding your prices in WooCommerce may be the perfect solution for you. The two plugins we mentioned above will do a great job of hiding the prices of your products, but if you run a wholesale business, we recommend installing and using the second (WooCommerce Wholesale Prices) plugin. Also, if you know how to code, you’ll be happy to hear that you can use different code snippets to hide prices in almost any area of ​​your site, including your shop page, certain products, or even certain categories. Whichever method you choose, make sure you follow our instructions carefully and you can instantly hide prices on your WooCommerce products effectively.

Moyens Staff
Moyens I/O Staff has motivated you, giving you tips on technology, personal development, lifestyle and strategies that will help you.