WooCommerce is a great tool for online stores. Sometimes, you may want to hide prices. This guide will help you do that.

Credit: woocommerce.com
Why Hide Prices?
There are many reasons to hide prices. Maybe you sell high-end items. Maybe you want people to contact you first. Or maybe your prices change often. Hiding prices can help in these situations.
Methods to Hide Prices
There are a few methods to hide prices. Each method is simple. You can choose the best one for you.
Method 1: Use A Plugin
Plugins are very useful. There are many plugins to hide prices. Here are some steps to use a plugin:
- Go to your WordPress dashboard.
- Click on “Plugins” and then “Add New”.
- Search for “Hide Price Until Login”.
- Install and activate the plugin.
- Go to the plugin settings and configure it.
This method is easy. It does not need coding skills. It is good for beginners.
Method 2: Use Custom Code
Using custom code is another way. This method is for those who know coding. Here are the steps:
- Go to your WordPress dashboard.
- Click on “Appearance” and then “Theme Editor”.
- Find the “functions.php” file.
- Add this code to the file:
php add_filter('woocommerce_get_price_html', 'hide_prices', 10, 2); function hide_prices($price, $product) { if (!is_user_logged_in()) { $price = ''; } return $price; } ?
- Save the changes.
This method needs some coding knowledge. But it gives you control. You can customize it as you like.
Method 3: Use Css
CSS is another way to hide prices. This method is simple. Here are the steps:
- Go to your WordPress dashboard.
- Click on “Appearance” and then “Customize”.
- Click on “Additional CSS”.
- Add this code:
.woocommerce-Price-amount { display: none; }
- Save the changes.
This method is easy. It does not need much knowledge. It is good for beginners.

Credit: yithemes.com
Which Method Should You Choose?
Each method has its pros and cons. Plugins are easy to use. Custom code gives you control. CSS is simple. Choose the one that fits your needs.
Frequently Asked Questions
How To Hide Prices In Woocommerce?
You can use a plugin or custom code to hide prices.
Which Plugin Hides Woocommerce Prices?
The “WooCommerce Hide Price” plugin hides prices easily.
Can I Hide Prices For Specific Products?
Yes, you can choose which products to hide prices for.
Is Custom Code Needed To Hide Prices?
No, plugins can hide prices without custom code.
Conclusion
Hiding prices in WooCommerce is simple. You can use plugins, custom code, or CSS. Each method is easy. Choose the best one for you. This guide will help you do it easily.