Do you want to hide the price of a specific category in WooCommerce? If you do, then you have come to the right place.
In this tutorial, I will teach you how to hide the price of a specific category in WooCommerce. Since WooCommerce does not provide any options to hide the price, we will use the Request a Quote plugin. It is a powerful plugin that allows you to hide prices for specific products and users. It also supports a quotation system where users can request multiple quotes for particular products.
By the end of this article, you will be able to hide prices for a specific category in WooCommerce.
On This Page
- 1 Why Should You Hide Price for a Specific Category in WooCommerce?
- 2 How to Hide Price for Specific Category in WooCommerce?
- 3 Final Result
- 4 Frequently Asked Questions
- 5 Conclusion
Why Should You Hide Price for a Specific Category in WooCommerce?
There are several reasons you might want to hide prices for a specific category in your store. If you want to sell products to the registered users only, you may want to hide prices for the guest users. Lots of stores with wholesale customers hide the price of wholesale products for their regular customers. Hiding price for out-of-stock products is also quite popular nowadays. It is also useful when you want to create a catalog of products. Users can only view products and their details but cannot purchase the products. You can also hide the Add to Cart button with the Request a Quote plugin.
How to Hide Price for Specific Category in WooCommerce?
We will go through a step-by-step guide to hide the price for a specific category in WooCommerce. So, follow all the steps carefully and verify settings with the given images.
You can skip the first two steps if you have already installed and activated the mentioned plugins.
1. Install and Activate Woosuite Core Plugin
The first step is to download the Woosuite core plugin file on your device. After downloading the file, you have to upload it to your WooCommerce site and install the plugin.
Go to Plugins and click Add New. Then click on the Upload Plugin and choose the plugin file. After uploading the file, click Install Now.
When the plugin is installed successfully, click on Activate Plugin to activate the plugin on your site.
2. Install and Activate Request a Quote Plugin
After the Woosuite core plugin is activated, a new option, ‘Woosuite’, will be added to the WordPress dashboard. On the Woosuite’s Addons page, you can find several plugins which you can install on your website.
Click on Woosuite and go to the Addons page. Then find the Request a Quote plugin and click Install Now to install it.
Then you have to activate the plugin by turning the button to ON as shown below.
Now, you have successfully activated the Request a Quote plugin.
3. Add a New Rule, Rule Name, and Type
You should see the new option “Request a Quote” on the Woosuite panel after you refresh the page. Navigate to the Request a Quote page and find the Add New Rule option.
Click Add New Rule.
A dialog box will appear where you have to configure settings for your new rule. The first field is the name of the rule. A relevant rule name is recommended as it will be easier to identify and edit the rule later.
The Rule Type option allows you to apply the rules for registered or guest users.
- Quote Rule for Guest Users: The rule will be applied to guest users or visitors. We will select this option to hide the price from non-registered users.
- Quote Rule for Registered Users: Use this option if you want to create the rule for your registered users. You can select specific user roles later.
You can set the rule priority for each rule. It defines which rule should be used for the product. The rule with high priority will be applied when there are multiple rules for the same product. (The value ranges from high priority 1 to low priority 10)
4. Select Categories
In this section, we will select categories for hiding the price.
- Apply on all products: If you tick this option, it will apply the rule for all products.
- Quote Rule for Selected Products: You can choose the specific products to apply the rule. Leave this option blank.
- Quote Rule for Selected Categories: This is what we will use. From this option, you can select specific categories of the store. We have chosen two categories, “Hoodies” and “Tshirts” to hide the price.
5. Hide the Price
Now, you have to select Yes in the Hide Price option to hide the price for the specified categories. Type the text in Hide Price Text field to display that text in place of the product price.
Also read: How To Replace WooCommerce Price With Text
6. Hide Add to Cart Button
The final step is to hide the add to cart button. Since the price will be hidden, keeping the Add to Cart button is inappropriate.
Select the option “Replace Add to Cart button with custom button” and leave other fields blank. This will hide the Add to Cart button in the products.
Also read: How To Add A WooCommerce Request A Quote Form
After completing all the above steps, publish the rule to apply it to your website.
You have now configured all the settings for hiding the price of a specific category. Let’s go to the shop page and check whether the applied settings are visible in the store.
Here are the final results. As you can see, the price of all products in the category “Hoodie” and “Tshirts” is now hidden along with the Add to Cart button.
The product page will look like this.
Frequently Asked Questions
Q. How do I hide prices in WooCommerce?
Ans. With the Request a Quote plugin, you can hide the price from registered or non-registered users in WooCommerce.
Q. How do I hide the price for a specific category in WooCommerce?
Ans. Once you install and activate the Request a Quote plugin, you can hide the price of specific products or categories in WooCommerce.
Q. How to replace price with text in WooCommerce?
Ans. The best way to replace price with text in WooCommerce is by using the plugin. The Request a Quote plugin offers a simple way to hide the price and display any text on the price field. You can replace price with text call for price, for example, Call for price: +447911123456.
In this article, you have learned how to hide prices for a specific category in WooCommerce. We also showed you how to replace the Add to Cart button with the Quote button or custom button. The Request a Quote plugin is an excellent choice if you are looking for the best plugin to hide prices in WooCommerce.
We hope you understood everything correctly and will be able to hide the price for a specific category in your store. If you have any questions, please do not hesitate to contact us.