How to Hide Prices in WooCommerce – Easy Guide for 2024

Do you want to display your WooCommerce products without prices?

In this article, we will teach you to hide the prices in the WooCommerce store using the Request a Quote plugin. If you want to show the prices to specific users or registered users only, you will need this plugin.

You can restrict the guest visitors to check your price. They will be required to log in to see the prices. It ultimately increases the number of registered customers on the site.  

Why Should You Hide the Prices in WooCommerce?

There are different scenarios when you may need to hide prices in the WooCommerce store. Let’s explore some which are common nowadays.

Subscription-based store - If you have a separate subscription-based store, you will need to hide the prices for other users. 

Wholesale stores - If you have wholesale customers, you may want to hide the price from other customers. So, only wholesale customers are able to see the wholesale prices.

Registered Users Only - If you want to display the prices for registered users only

, you will need a Request a Quote plugin to hide prices for other users.

Out of stock - You may have noticed Amazon does not display the price for out-of-stock products. If you also prefer to hide prices for out-of-stock products, you can use this plugin.

Catalog - Some WooCommerce stores enable catalog mode on their website. Users are able to view products and their details only, but cannot purchase the products. If you also have a similar store where you do not sell online you may prefer to hide the prices of products.

You may have your own conditions where it is suitable to hide prices in your WooCommerce store.

Why use Request a Quote Plugin to Hide Prices?

Request a Quote plugin, not only hides the prices, it has other key features too. 

  • You can choose the audience from registered and guest users. 
  • It allows you to select specific user roles and products from the store. 
  • It has the option to set the text in place of price. 
  • You can hide the Add to Cart button and add a new Quote button. 
  • You can also customize the label of the Quote button. 
  • With a quote button, users can add quotations and submit multiple quotations through the quote form.
  • You will get emails when new quotes are submitted so you can manage quote requests easily.

Method 1: How to Hide Prices in WooCommerce

1. Install and Activate Woosuite Core Plugin

First, you need to download the Woosuite Core plugin and upload it to your site. 

Go to Plugins>>Add New>>Upload Plugin. Then choose the zip file of the plugin and click Install Now.

Then you need to activate it to use it on your WooCommerce site. To activate the plugin, click the button ‘Activate Plugin’.

2. Install Request a Quote Plugin

As we need the Request a Quote plugin to hide the prices. First, we need to install and activate the plugin on our site. 

Go to Woosuite>>Addons. There you can find different plugins for multiple purposes. For now, we need to install the Request a Quote plugin. To install the plugin you need to click Install Now.

Then you need to activate the plugin to use it.

3. Add New Rule

Now, let’s use the Request a Quote plugin.

Go to Woosuite>>Request a Quote. Click Add New Rule to add a rule to hide prices.

4. Set Rule Name and Type

After clicking Add New Rule, you need to provide the information to set up the rule. 

On the first field, you can provide the name for the rule. Here, we have given a Hide Price.

On Rule Type, you can select the audience to whom you want to apply the rules.

  • Quote Rule for Guest Users: The rule will be applied to guest or non-registered users. They will not see the prices on the shop page.
  • Quote Rule for Registered Users: You can use this option if you want to apply the rule for registered users. After choosing this option, you will be able to select the user roles to apply the rule.

Rule Priority takes an argument as a number. The number value ranges from high priority 1 to low priority 10. When you have multiple rules on the same product, a rule having a high priority value will be applied to the product.

5. Choose Products

Now, let’s choose the products of which you want to hide the prices. You can choose all products, individual products, or product categories to apply the rule. 

To apply the rule to all products, you need to check the box located on its right side.

6. Hide Price 

This option enables you to hide the prices on the WooCommerce shop page.  

On Hide Price, select option Yes to hide the price.

In the place of price, you can display the custom text. For example, Price is hidden, Price is not available, or anything you like.

7. Hide Add to Cart Button

Since the price is hidden, Add to Cart button is not needed. You can replace it with Quote Button or Custom Button. 

You can also label the button to display in the place of Add to Cart.

For detailed information on the Request a Quote button in WooCommerce, you can read our article How to Add a WooCommerce Request a Quote Form.

8. Publish the Rule

You need to publish the rule to apply on the WooCommerce site.

Then go to the shop page to see the products. As you can see, the price and add to cart buttons are hidden.

Method 2: Hide price WooCommerce programmatically

Code to hide price for all products:

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

Code to hide price for specfic products:
add_filter('woocommerce_get_price_html', 'aovup_hide_price_for_specific_product');
function aovup_hide_price_for_specific_product($price) {
    global $product;
    if ($product->get_id() == 123) { // Replace 123 with your product ID
        return '';
    }
    return $price;
}

Frequently Asked Questions

Can I hide the price and Add to cart button?

Yes, you can hide the price and remove the Addremove Add to cart button.

Can I select specific products to hide the price?

Yes, you can choose specific products or categories and hide their prices.

Conclusion

Now we have come to the end of our tutorial on WooCommerce without prices. We hope now you will be able to hide the prices from the shop page. 

Let us know your feedback on the features of the Request a Quote plugin.

Brian
Brian

Welcome to the AovUp blog, where we discuss all things WooCommerce. I hope we can help you achieve something today...

Leave a Reply

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

We – and our partners – use cookies to deliver our services and to show you ads. By using our website, you agree to the use of cookies as described in our Cookie Policy