Hide Price & Show Custom Button

Hide Price & Show Custom Button for WooCommerce allows store owners to restrict product pricing visibility and purchasing options based on multiple dynamic rules. Whether you’re managing wholesale access, country-specific pricing, or creating lead-generation flows, this plugin offers powerful control through custom rule sets.

Installation

โ†‘ Back to top

To start using a product from WooCommerce.com, you can use the โ€œAdd to storeโ€ functionality on the order confirmation page or the My subscriptions section in your account.

  1. Navigate to My subscriptions.
  2. Find the Add to store button next to the product youโ€™re planning to install.
  3. Follow the instructions on the screen, and the product will be automatically added to your store.

Alternative options and more information at:
Managing WooCommerce.com subscriptions.

Adding a WooCommerce.com subscription to your store

Setup and configuration

โ†‘ Back to top

Once the extension is activated, you can access its settings via your store’s WP Admin dashboard by clicking โ€œHide Price Rulesโ€

Create multiple rules

โ†‘ Back to top

This extension enables the creation of several rules to hide prices or add custom buttons for messages, forms, or redirection links for guests, registered customers, and user roles.

Click the Add New Ruleset button to create a rule and provide a custom rule title

General settings

โ†‘ Back to top
  • Enable Hide Price Setting for registered users or guest users
  • Enable/Disable the checkbox for hiding prices of all products
  • Add custom text to replace the price with desirable text
  • Enable/Disable the checkbox to hide the โ€œAdd to Cartโ€ button

Include products

โ†‘ Back to top
  • Enable/Disable the checkbox to hide the price for all products
  • Include multiple products
  • Include multiple product categories
  • Exclude specific products if enabling the setting for all products

Custom button

โ†‘ Back to top
  • Enable/Disable the custom button for products instead of โ€œAdd to cart.โ€
  • Set custom button label
  • Select custom button type from โ€˜URLโ€™ or โ€˜Show popupโ€™
  • Provide a custom button link if selecting โ€˜URLโ€™
  • Add custom content and media if selecting โ€˜Show popupโ€™. You can use shortcodes here to show the dynamic data, forms or embedded codes.

Limitation

โ†‘ Back to top
  • Apply the Ruleset to specific countries only. Choose the specific country to apply rule for.
  • Apply the Ruleset to specific user roles. Choose the specific user roles to apply rule for. Note, this option works only for registered users rule type.
  • Set rule priority for a specific Ruleset

Usage

โ†‘ Back to top

See the image below for an example of what is displayed on the front-end of your store:

FAQs

โ†‘ Back to top

Can I show a button instead of hiding the product completely?

  • Yes. Use the โ€œCustom Buttonโ€ tab to replace the Add to Cart button with a custom label, link, or popup. Provide the label text, desirable URL, or popup content in the subsequent fields to display the reason for hidden prices or guide the user journey.

Can I hide prices only for users from specific countries?

  • Yes. You can enable the “Restrict by Country” option and choose the countries where price visibility will be restricted based on the user’s IP address. Multiple countries can be selected.

What happens if multiple rules apply to the same product?

  • The rule with the lowest priority number will be applied. The message of the same ruleset will be displayed to the user, which you can change from the custom message settings.

Related Products

Offer add-ons like gift wrapping, special messages or other special options for your products.

Add shipment tracking information to your orders.