{"id":34672,"date":"2023-05-25T12:00:44","date_gmt":"2023-05-25T10:00:44","guid":{"rendered":"https:\/\/qodeinteractive.com\/magazine\/?p=34672"},"modified":"2024-03-20T14:36:49","modified_gmt":"2024-03-20T13:36:49","slug":"how-to-hide-prices-in-woocommerce","status":"publish","type":"post","link":"https:\/\/qodeinteractive.com\/magazine\/how-to-hide-prices-in-woocommerce\/","title":{"rendered":"How to Hide Prices in WooCommerce"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><p>[vc_row][vc_column][vc_column_text]While it\u2019s true that pricing represents one of the key components of most online stores, there are some specific occasions when it might be better to hide the prices from your customers. If this is something you feel would be a good call for your WooCommerce shop, you\u2019re in the right place. We\u2019re showing you a couple of ways to hide prices, but before we get into that, let\u2019s go through a couple of situations where hiding prices would make sense.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;68px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h2 class=\"qodef-h4\">Why Hide Prices in WooCommerce?<\/h2>\n<p>[\/vc_column_text][vc_column_text]Say that you own a wholesale store that wants to show prices only to wholesale customers who are verified and hide them from other, regular buyers. For this, you would need a shop layout that doesn\u2019t display prices by default.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Another scenario is that you may want to use your website to boost the online visibility of your brick-and-mortar business by displaying a list of products that can\u2019t be purchased online &#8211; only at your physical location. While this may not be a great idea for retailers of any kind (after all, you want people to buy as much as possible, and adding eCommerce to your website would do just that), it can be a good call for brands that are built upon specific aesthetics, traditional values or special sort of hype.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Also, just like certain high-end stores prefer not to have a price tag on the products displayed in the shop window (so people really have to enter the store to learn the price), many luxury brands may prefer to use the same strategy on their site and instead put up a message such as \u201cprice upon request\u201d.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Another situation where hiding prices would make sense is if you\u2019re running a members-only website and want to turn your entire WooCommerce store into an online catalog using a <a href=\"https:\/\/qodeinteractive.com\/magazine\/best-woocommerce-catalog-mode-plugins\/\">catalog mode plugin<\/a>. If you want, you can even make your product information available to the registered customers only. These are just some of the cases in which you might want to consider hiding the prices on your WooCommerce store.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Now, WooCommerce does not come with a built-in option of removing prices. Prices are shown by default. Fortunately, there are a couple of rather easy workarounds that can be applied to individual product pages, shop page and even the specific product categories.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Without further ado, <strong>here are a few different ways in which you can hide prices on your WooCommerce-powered site<\/strong>. First, we will show you how to <strong>hide regular prices on your individual (and all) products<\/strong>, as well as <strong>how to hide wholesale prices using two different plugins<\/strong>. Then, if you\u2019re looking for an even more customized approach, we will also<strong> share a few different code snippets you can use to hide prices manually<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text] Note that if you use <a href=\"https:\/\/qodeinteractive.com\/products\/plugins\/qode-wishlist-for-woocommerce-premium\/\">QODE Wishlist for WooCommerce<\/a> you can not only add the ever-useful wishlist functionality to your shop but you can also add the &#8220;Ask for Estimate&#8221; button if you decide to hide your prices. Now, back to our subject, here&#8217;s what we will cover:<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;22px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><a href=\"#change-price-title-for-woocommerce-plugin\">Hiding Prices in WooCommerce Using the Change Price Title for WooCommerce Plugin<\/a><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;5px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><a href=\"#woocommerce-wholesale-prices-plugin\">Hiding Prices in WooCommerce Using the WooCommerce Wholesale Prices Plugin<\/a><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;5px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><a href=\"#manually-using-code\">Hiding Prices in WooCommerce Manually Using Code<\/a><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;80px&#8221;][vc_widget_sidebar sidebar_id=&#8221;new-ecommerce-banner&#8221;][vc_empty_space height=&#8221;80px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h2 class=\"qodef-h4\"><a id=\"change-price-title-for-woocommerce-plugin\"><\/a>Hiding Prices in WooCommerce Using the Change Price Title for WooCommerce Plugin<\/h2>\n<p>[\/vc_column_text][vc_column_text]To hide prices on individual and\/or all products on your WooCommerce store, we recommend using the plugin called <a href=\"https:\/\/wordpress.org\/plugins\/change-wc-price-title\/\" target=\"_blank\" rel=\"noopener\">Change Price Title for WooCommerce<\/a>. As its name suggests, this plugin will also allow you to change the price title for all and individual products (for example, you can change it to be called something like \u201cFrom $50\u201d). There is also the option that will allow you to hide price titles on individual or all product pages, as well as other WooCommerce pages (like Shop).[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"518\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Change-Price-Title-for-WooCommerce.jpg\" class=\"attachment-full size-full\" alt=\"Change Price Title for WooCommerce\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Change-Price-Title-for-WooCommerce.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Change-Price-Title-for-WooCommerce-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Change-Price-Title-for-WooCommerce-768x411.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Change-Price-Title-for-WooCommerce-620x331.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]You should <a href=\"https:\/\/qodeinteractive.com\/magazine\/how-to-install-a-wordpress-plugin\/\">install the plugin<\/a> and activate it first. Then, to hide the prices for all products, <strong>go to <em>WooCommerce &gt;&gt; WooCommerce Price Title<\/em><\/strong>. Mark the option called <em>Hide Price Title<\/em> and click on <em>Save Changes<\/em>.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"518\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Hide-Price-Title.jpg\" class=\"attachment-full size-full\" alt=\"Hide Price Title\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Hide-Price-Title.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Hide-Price-Title-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Hide-Price-Title-768x411.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Hide-Price-Title-620x331.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]You can also mark the option named \u201cApply Above Options On All WooCommerce Pages\u201d to apply all the settings above on other WooCommerce pages, such as your Shop page.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"518\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Apply-Options-on-WooCommerce-Pages.jpg\" class=\"attachment-full size-full\" alt=\"Apply Options on WooCommerce Pages\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Apply-Options-on-WooCommerce-Pages.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Apply-Options-on-WooCommerce-Pages-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Apply-Options-on-WooCommerce-Pages-768x411.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Apply-Options-on-WooCommerce-Pages-620x331.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]To hide prices on individual products, access <em>Products &gt;&gt; All Products<\/em> and then go to the edit of the product you wish to hide the price for.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"518\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Edit-Product.jpg\" class=\"attachment-full size-full\" alt=\"Edit Product\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Edit-Product.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Edit-Product-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Edit-Product-768x411.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Edit-Product-620x331.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Scroll down to the <em>Product data<\/em> meta box and hit the <em>Advanced<\/em> tab. Once there, you will see the option called \u201cHide Price?\u201d[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"499\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Edit-Product-Hide-Price.jpg\" class=\"attachment-full size-full\" alt=\"Edit Product Hide Price\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Edit-Product-Hide-Price.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Edit-Product-Hide-Price-300x154.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Edit-Product-Hide-Price-768x395.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Edit-Product-Hide-Price-620x319.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Once you mark this option and hit the <em>Update<\/em> button, the price of your product will be hidden.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"567\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Product-Price-Hidden.jpg\" class=\"attachment-full size-full\" alt=\"Product Price Hidden\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Product-Price-Hidden.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Product-Price-Hidden-300x176.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Product-Price-Hidden-768x449.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Product-Price-Hidden-620x363.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Also, by marking the option called \u201cApplicable on All WooCommerce Pages\u201d, your prices will be hidden on other product pages as well, including your Shop page.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"518\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Applicable-on-All-Pages.jpg\" class=\"attachment-full size-full\" alt=\"Applicable on All Pages\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Applicable-on-All-Pages.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Applicable-on-All-Pages-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Applicable-on-All-Pages-768x411.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Applicable-on-All-Pages-620x331.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;78px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h2 class=\"qodef-h4\"><a id=\"woocommerce-wholesale-prices-plugin\"><\/a>Hiding Prices in WooCommerce Using the WooCommerce Wholesale Prices Plugin<\/h2>\n<p>[\/vc_column_text][vc_column_text]If you own a wholesale store or B2B business, then we recommend using the plugin called <a href=\"https:\/\/wordpress.org\/plugins\/woocommerce-wholesale-prices\/\" target=\"_blank\" rel=\"noopener\">WooCommerce Wholesale Prices<\/a>. This particular plugin will allow you to easily show or hide your wholesale prices and also change user accounts to the new wholesale user role so that they can view the wholesale price once they log in.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"518\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/WooCommerce-Wholesale.jpg\" class=\"attachment-full size-full\" alt=\"WooCommerce Wholesale\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/WooCommerce-Wholesale.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/WooCommerce-Wholesale-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/WooCommerce-Wholesale-768x411.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/WooCommerce-Wholesale-620x331.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]If you want to have access to more advanced features (such as the ability to create unlimited wholesale user roles and restrict product visibility to specific user roles, among others), you can upgrade to the <a href=\"https:\/\/wholesalesuiteplugin.com\/\" target=\"_blank\" rel=\"noopener\">premium version of the plugin<\/a> (starting at $49.50 a year for a single site).[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]After installing and activating the plugin, you should <strong>head to <em>WooCommerce &gt;&gt; Settings<\/em> and click on the <em>Wholesale Prices<\/em> tab.<\/strong>[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"518\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Wholesale-Prices.jpg\" class=\"attachment-full size-full\" alt=\"Wholesale Prices\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Wholesale-Prices.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Wholesale-Prices-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Wholesale-Prices-768x411.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Wholesale-Prices-620x331.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Then, <strong>select the <em>Price<\/em> tab and mark the option called \u201cHide Price and Add to Cart button\u201d.<\/strong> This will essentially hide the wholesale prices from the Add to Cart page for all users that aren\u2019t logged in on your site.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"559\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Wholesale-Prices-Hide-Price.jpg\" class=\"attachment-full size-full\" alt=\"Wholesale Prices Hide Price\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Wholesale-Prices-Hide-Price.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Wholesale-Prices-Hide-Price-300x173.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Wholesale-Prices-Hide-Price-768x443.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Wholesale-Prices-Hide-Price-620x358.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Hit the <em>Save Changes<\/em> button located at the bottom of the page when you\u2019re done.[\/vc_column_text][vc_empty_space height=&#8221;80px&#8221;][vc_widget_sidebar sidebar_id=&#8221;latest-themes&#8221;][vc_empty_space height=&#8221;81px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h2 class=\"qodef-h4\"><a id=\"manually-using-code\"><\/a>Hiding Prices in WooCommerce Manually Using Code<\/h2>\n<p>[\/vc_column_text][vc_column_text]If you\u2019re familiar with coding and wish to have even more options at your disposal, you can always hide prices in WooCommerce manually. This can be done by<strong> going to <em>Appearance &gt;&gt; Theme Editor<\/em><\/strong> and then inserting your code into the <strong>functions.php<\/strong> file.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"606\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Theme-Functions.jpg\" class=\"attachment-full size-full\" alt=\"Theme Functions\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Theme-Functions.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Theme-Functions-300x188.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Theme-Functions-768x480.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2022\/02\/Theme-Functions-620x388.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Alternatively, if you don\u2019t want to edit your theme file directly, you can always <a href=\"https:\/\/qodeinteractive.com\/magazine\/how-to-add-custom-code-to-wordpress\/\">add your custom code<\/a> using a plugin like <a href=\"https:\/\/wordpress.org\/plugins\/code-snippets\/\" target=\"_blank\" rel=\"noopener\">Code Snippets<\/a> instead.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]To hide the prices on all your products, simply add this code into your theme\u2019s<strong> function.php<\/strong> file:[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">add_filter( 'woocommerce_get_price_html', 'remove_price');\r\nfunction remove_price($price){ \r\nreturn ;\r\n}<\/pre>\n<p>[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]In case you wish to hide all the prices for other users except for the admin, then you need to insert the following:[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">add_filter( 'woocommerce_get_price_html', 'remove_price');\r\nfunction remove_price($price){ \r\nif ( is_admin() ) return $price; \r\nreturn ;\r\n}<\/pre>\n<p>[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]If you wish to hide the prices on your Shop page, insert the following code snippet:[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">add_filter( 'woocommerce_after_shop_loop_item_title', 'remove_woocommerce_loop_price', 2 ); \r\nfunction remove_woocommerce_loop_price() { \r\nif( ! is_shop() ) return; \/\/ Hide prices only on shop page \r\nremove_action( 'woocommerce_after_shop_loop_item_title', 'woocommerce_template_loop_price', 10 ); \r\n}<\/pre>\n<p>[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Now, if you want to hide prices from specific products, you can easily do so using the following code:<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">add_filter( 'woocommerce_get_price_html', 'hide_price_product_ids', 10, 2 ); \r\nfunction hide_price_product_ids( $price, $product ) {\r\n$hide_for_products = array( 2490 );\r\nif ( in_array( $product-&gt;get_id(), $hide_for_products ) ) {\r\nreturn;\r\n}\r\nelse{ \r\nreturn $price; \/\/ Return price for the all the other products\r\n}\r\n}<\/pre>\n<p>[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Say that you want to hide the prices for the products that belong to a specific category. In that case, here\u2019s the code that should do the trick for you:[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">add_filter( 'woocommerce_get_price_html','hide_price_on_taxonomy');\r\nfunction hide_price_on_taxonomy( $price) {\r\nglobal $product;\r\n$hide_for_categories = array( 'shirts' ); \/\/ Hide for these category slugs \/ IDs\r\nif ( has_term( $hide_for_categories, 'product_cat', $product-&gt;get_id() ) ) { \/\/ Don't show price when it's in one of the categories\r\n$price= '';\r\n} \r\nreturn $price; \/\/ Return original price \r\n}<\/pre>\n<p>[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]You should change the \u2018shirts\u2019 part to your particular category name (i.e. the category of the products whose pricing you wish to hide). Of course, if you want, you can insert more than one category here \u2013 just make sure to separate different categories by commas (eg. &#8216;shirts&#8217;, &#8216;pants&#8217;).[\/vc_column_text][vc_empty_space height=&#8221;68px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h2 class=\"qodef-h4\">Wrapping Things Up<\/h2>\n<p>[\/vc_column_text][vc_column_text]Whether you own a wholesale business, a membership-only site, or a traditional brick-and-mortar store and want to showcase your products without selling them online, hiding your prices in WooCommerce might be the perfect solution for you. The two plugins we\u2019ve mentioned above will do a great job of hiding the prices of your products, though if you\u2019re running a wholesale business, we recommend installing and using the second (WooCommerce Wholesale Prices) plugin. And if you know how to code, you\u2019ll be happy to hear that you can use different code snippets to hide prices for almost any area of your site, including your shop page, specific products, and even specific categories. No matter which method you opt for, just make sure to follow our instructions carefully and you\u2019ll be able to effectively hide prices on your WooCommerce products in no time.<br \/>\n[\/vc_column_text][\/vc_column][\/vc_row]<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Here&#8217;s how you can effectively hide prices on your WooCommerce-powered site with two different plugins, as well as manually by adding some custom code.<\/p>\n","protected":false},"author":2,"featured_media":34799,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[56,4,99],"class_list":["post-34672","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-ecommerce","tag-tips","tag-woocommerce"],"_links":{"self":[{"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/posts\/34672","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/comments?post=34672"}],"version-history":[{"count":0,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/posts\/34672\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/media\/34799"}],"wp:attachment":[{"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/media?parent=34672"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/categories?post=34672"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/tags?post=34672"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}