Hide prices for one category
Show “Price on request” and only the quote button for every product in one category, while the rest of the shop sells as usual.
Add the rule
- Go to WooCommerce → Settings → Quotes → Rules.
- Click Add rule. Under Products, choose Products in categories and pick the category. Subcategories are included.
- Under What the customer sees, choose Request a quote, price hidden.
- Optional: change Text instead of the price. Left empty, customers see “Price on request”.
- Click Save rule.
Note Rules are checked from top to bottom, and the first rule that matches the product and the customer decides. Put this rule above broader ones, such as a rule for all products.
Check it
Open a product from that category in a private browser window. You should see your price text and the quote button, and no Add to cart button.
Only for some customers
Under Customers, choose who the rule is for: everyone, logged-out visitors, logged-in customers, or customers with certain roles. For example, hide prices from visitors and show them to logged-in trade customers.