{"id":3904,"date":"2024-12-15T10:47:21","date_gmt":"2024-12-15T10:47:21","guid":{"rendered":"https:\/\/ithemelandco.com\/docs\/woorbp\/?p=3904"},"modified":"2025-11-08T12:12:57","modified_gmt":"2025-11-08T12:12:57","slug":"hide-prices-on-product-or-category","status":"publish","type":"post","link":"https:\/\/ithemelandco.com\/docs\/woorbp\/hide-prices-on-product-or-category\/","title":{"rendered":"How to hide product price and add-to-cart button for different user roles on a specific product or category?"},"content":{"rendered":"\n<p>If you are managing a big e-commerce store, it is very common if you need to hide the prices or add-to-cart buttons of specific products or categories. The <a href=\"https:\/\/ithemelandco.com\/plugins\/role-based-pricing-for-woocommerce\/?utm_source=docs&amp;utm_content=hide-price-on-specific-product-category\" target=\"_blank\" rel=\"noreferrer noopener\">ROLEPRICEiT &#8211; Role Based Pricing for WooCommerce<\/a> provides flexible options to help you hide the prices and show a custom message to the customers or other user roles.<\/p>\n\n\n\n<p>Hiding prices is a great solution when the prices of your products change frequently so your customers must contact you to ask about the latest information. It is sometimes important because the final cost of the product will be estimated after getting some information from customers.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Hide product prices and add-to-cart button for different user roles on specific product or category<\/h2>\n\n\n\n<p>For any reason you need to hide prices or add-to-cart button on a specific product or category, follow the below steps in Role Based pricing plugin:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to the<strong> iThemeland<\/strong> -&gt; <strong>Role Based Pricing<\/strong>.<\/li>\n\n\n\n<li>Go to the <strong>Hide Price<\/strong> tab.<\/li>\n\n\n\n<li><strong>Enable Hide Price&amp; Add to Cart item.<\/strong><\/li>\n\n\n\n<li>Mark <strong>Hide for registered users<\/strong> and select the users from the list of <strong>Select user roles <\/strong>field. If you ignore this step, the price will be hidden for all users.&nbsp;<\/li>\n<\/ol>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>Read More:<\/strong> <a href=\"https:\/\/ithemelandco.com\/docs\/woorbp\/hide-prices-for-user-roles\/?utm_source=docs&amp;utm_content=hide-price-on-specific-product-category\" data-type=\"post\" data-id=\"3899\" target=\"_blank\" rel=\"noreferrer noopener\"><span style=\"text-decoration: underline;\">How to hide product prices for specific user roles?<\/span><\/a><\/p>\n<\/blockquote>\n\n\n\n<ol start=\"5\" class=\"wp-block-list\">\n<li>To hide the product prices in the archive and product pages, mark the <strong>Hide Price<\/strong> field.\n<ul class=\"wp-block-list\">\n<li>It is also possible to write a custom text in the <strong>Price Text<\/strong> field to display instead of prices.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>To completely remove the add to cart button from all WooCommerce shop pages mark the <strong>Hide Add to Cart Button<\/strong>.\n<ul class=\"wp-block-list\">\n<li>It is also possible to write a custom text like \u201cContact Us\u201d in the <strong>Add to Cart Button Text<\/strong> field and<strong> <\/strong>then insert a link in the <strong>Add to Cart button link<\/strong> to lead the users to a specific page when they click on the button.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Choose one or more products or categories in the <strong>Select Products <\/strong>or<strong> Select Categories<\/strong> fields. If you ignore these fields and do not select any products or categories, the rule will be applied to all products of your online store.<\/li>\n\n\n\n<li>Press <strong>Save settings<\/strong> to apply changes to your store.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/ithemelandco.com\/docs\/woorbp\/wp-content\/uploads\/sites\/20\/2024\/12\/01-hide-all-products-price-and-add-to-cart-btn-for-all-user-roles.png\"><img fetchpriority=\"high\" decoding=\"async\" width=\"927\" height=\"650\" src=\"https:\/\/ithemelandco.com\/docs\/woorbp\/wp-content\/uploads\/sites\/20\/2024\/12\/01-hide-all-products-price-and-add-to-cart-btn-for-all-user-roles.png\" alt=\"Hide all prodcuts price and add-to-cart button for all users in woo role-based pricing plugin\" class=\"wp-image-4034\"\/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Example: Hide prices and add to cart button for the Wine category<\/h3>\n\n\n\n<p>Let\u2019s suppose that you want to hide prices and add to cart button for the <strong>Wine<\/strong> category in your store. To make this happen, you need to:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Set the following fields:<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Enable the <strong>Hide Price<\/strong> &amp; <strong>Add to Cart button.<\/strong><\/li>\n\n\n\n<li>Enable <strong>Hide for registered users.<\/strong><\/li>\n\n\n\n<li>Enable <strong>Hide price.<\/strong><\/li>\n\n\n\n<li>Enable <strong>Hide the add to cart button.<\/strong><\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Locate the <strong>Select Categories<\/strong> field and select <strong>Wine<\/strong> from the list of categories.&nbsp;<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/ithemelandco.com\/docs\/woorbp\/wp-content\/uploads\/sites\/20\/2024\/12\/02-hide-price-and-add-to-cart-btn-for-wine-category.png\"><img decoding=\"async\" width=\"976\" height=\"665\" src=\"https:\/\/ithemelandco.com\/docs\/woorbp\/wp-content\/uploads\/sites\/20\/2024\/12\/02-hide-price-and-add-to-cart-btn-for-wine-category.png\" alt=\"Woo role-based pricing plugin hide price and add-to-cart btn for wine category\" class=\"wp-image-4035\"\/><\/a><\/figure>\n\n\n\n<p>By clicking on the <strong>Save Settings<\/strong> button the rule will be applied to the <strong>Wine<\/strong> category which means when customers or other logged-in users open the category archive page or one of the product pages in the <strong>Wine<\/strong> category, the price and the Add to Cart button are not displaying to them.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/ithemelandco.com\/docs\/woorbp\/wp-content\/uploads\/sites\/20\/2024\/12\/03-result-of-hide-price-rules.png\"><img decoding=\"async\" width=\"998\" height=\"634\" src=\"https:\/\/ithemelandco.com\/docs\/woorbp\/wp-content\/uploads\/sites\/20\/2024\/12\/03-result-of-hide-price-rules.png\" alt=\"Show result of hide price and add-to-cart btn for wine category\" class=\"wp-image-4036\"\/><\/a><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>If you are managing a big e-commerce store, it is very common if you need to hide the prices or add-to-cart buttons of specific products or categories. The ROLEPRICEiT &#8211; Role Based Pricing for WooCommerce provides flexible options to help you hide the prices and show a custom message to the customers or other user [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3904","post","type-post","status-publish","format-standard","hentry","category-plugin-usage"],"_links":{"self":[{"href":"https:\/\/ithemelandco.com\/docs\/woorbp\/wp-json\/wp\/v2\/posts\/3904","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ithemelandco.com\/docs\/woorbp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ithemelandco.com\/docs\/woorbp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ithemelandco.com\/docs\/woorbp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ithemelandco.com\/docs\/woorbp\/wp-json\/wp\/v2\/comments?post=3904"}],"version-history":[{"count":1,"href":"https:\/\/ithemelandco.com\/docs\/woorbp\/wp-json\/wp\/v2\/posts\/3904\/revisions"}],"predecessor-version":[{"id":4466,"href":"https:\/\/ithemelandco.com\/docs\/woorbp\/wp-json\/wp\/v2\/posts\/3904\/revisions\/4466"}],"wp:attachment":[{"href":"https:\/\/ithemelandco.com\/docs\/woorbp\/wp-json\/wp\/v2\/media?parent=3904"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ithemelandco.com\/docs\/woorbp\/wp-json\/wp\/v2\/categories?post=3904"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ithemelandco.com\/docs\/woorbp\/wp-json\/wp\/v2\/tags?post=3904"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}