Descripción
Hide Price and Add to Cart for WooCommerce gives store owners full rule-based control over pricing visibility and purchase options — no coding required.
Create unlimited visibility rules and define exactly who sees prices and the Add to Cart button, and on which products. Each rule lets you target specific products, categories, tags, or brands, and apply it to specific user roles, individual users, or guest visitors.
Whether you’re running a wholesale store, a B2B shop, a members-only catalog, or a quote-based business — this plugin makes conditional pricing visibility simple and flexible.
Why Use This Plugin?
Many WooCommerce stores need to control who can see prices and buy products. Common scenarios include:
- Hide prices from guest users until they register or log in
- Show pricing only to approved wholesale or B2B customers
- Replace «Add to Cart» with a «Request a Quote» or «Contact Us» button
- Convert your WooCommerce store into a browse-only product catalog
- Restrict purchasing for specific products or entire categories by user role
Key Features
Unlimited Hide Rules
Create as many rules as your store needs. Each rule is managed independently, giving you granular control across your entire catalog.
Hide Price with Custom Replacement Text
* Completely hide the product price
* Replace it with any custom text — e.g., «Login to See Price», «Call for Price», «Request a Quote», or «Members Only»
* Leave the price area blank if preferred
Hide Add to Cart Button — Two Replacement Options
* Remove the Add to Cart button entirely
* Replace it with plain custom text (e.g., «Contact Us for Pricing»)
* Replace it with a styled custom link button pointing to any URL — your contact page, a quote form, a WhatsApp chat link, an email address, or any external page
Works on Shop Pages AND Single Product Pages
Rules apply both on archive/shop listing pages and on individual product pages, so your store looks consistent everywhere.
Supports All WooCommerce Product Types
Rules are applied correctly across simple products, variable products (including individual variations), grouped products, external/affiliate products, and WooCommerce Subscriptions.
Precise Product Targeting
Control which products each rule applies to:
* Apply to all products in your store with one click
* Target specific individual products
* Target entire product categories
* Target products by tag
* Target products by brand (compatible with brand taxonomy plugins)
Flexible User & Role Targeting
Control which visitors each rule applies to:
* Target specific individual user accounts by name
* Target any WordPress or WooCommerce user role — including Guests, Customers, Subscribers, Wholesalers, or any custom role
* If no user or role is specified, the rule applies to everyone
Results Cached for Performance
Rules are cached using WordPress object cache, so your store runs fast even with many rules active.
Developer-Friendly with Custom Hooks
Extend and customize the plugin’s behavior using built-in filters:
* woomanagers_replace_price_text — Filter the replacement text shown instead of the price
* woomanagers_replace_add_to_cart_text — Filter the replacement text shown instead of the Add to Cart button
* wmhp_hide_price_register_post_type — Customize the Hide Price Rules post type registration
Translation Ready
Fully internationalized with a .pot file included. Ready for translation into any language.
Built to WordPress and WooCommerce Standards
* Follows official WordPress coding standards
* Nonce verification and data sanitization on all inputs
* Integrates natively into the WooCommerce admin menu
* No bloat — only loads what it needs
Perfect For
- Wholesale WooCommerce Stores — Show prices only to approved wholesale accounts
- B2B eCommerce Websites — Gate pricing behind login for business customers
- Catalog Mode Shops — Let visitors browse products without seeing prices or buying
- Membership-Based Stores — Restrict pricing visibility to paid members
- Quote-Based Businesses — Replace Add to Cart with a quote request button
- Manufacturer & Distributor Sites — Display your product range without enabling direct purchases
- Private or Invite-Only Stores — Restrict all purchasing to specific registered users
Use Cases
- Hide all prices for guest (non-logged-in) visitors
- Show prices only to users with the «Wholesaler» role
- Replace «Add to Cart» with a WhatsApp button for a specific product category
- Hide pricing on a specific brand’s products for retail customers
- Create a catalog-only experience for trade show or brochure-style stores
- Allow browsing but require login before any purchase can be made
Capturas

Rule list — manage all your hide price rules from the WooCommerce admin menu. 
Hide Price & Add to Cart settings — configure price hiding and button replacement options per rule. 
Users & Roles targeting — select which individual users or user roles the rule applies to. 
Products & Taxonomies targeting — apply the rule to all products, or specific products, categories, tags, or brands. 
Frontend example — price replaced with custom text on a product page. 
Frontend example — Add to Cart button replaced with a custom link button.
Instalación
- Upload the plugin folder to
/wp-content/plugins/, or install it directly from the WordPress plugin directory. - Activate the plugin through the Plugins screen in WordPress.
- Make sure WooCommerce is installed and active — this plugin requires it.
- Navigate to WooCommerce Hide Price Rules in your admin menu.
- Click Add New Rule, give it a title, and configure your settings:
- Under Hide Price & Add to Cart: choose whether to hide the price, set replacement text, hide the Add to Cart button, and choose whether to replace it with text or a custom link button.
- Under Users & Roles: select individual users and/or user roles the rule applies to.
- Under Products & Taxonomies: select whether to apply to all products, or pick specific products, categories, tags, or brands.
- Publish the rule. It takes effect immediately on your storefront.
FAQ
-
Does this plugin work with variable products?
-
Yes. Rules are applied correctly to variable products. When a variation is displayed, the plugin looks up the parent product to check which rules apply, ensuring consistent behavior across all variations.
-
Can I create different rules for different user roles?
-
Yes. Each rule lets you target one or more user roles independently. For example, you can create one rule that hides prices for Guests, and a separate rule that hides the Add to Cart button for Customers but not Wholesalers.
-
Can I target individual user accounts, not just roles?
-
Yes. In addition to targeting roles, you can select specific registered users by name so a rule applies only to those accounts.
-
Can I hide prices on just specific products, not the whole store?
-
Yes. Each rule can be scoped to specific products, categories, tags, or brands — or set to apply to all products. You have full control.
-
Yes. Choose «Replace with custom link button», enter your button text, and paste any URL — including a WhatsApp chat link (https://wa.me/…), a contact page, a quote form, or any external URL.
-
Does it work on both the shop/category pages and single product pages?
-
Yes. Rules are enforced on both archive (shop, category, tag) pages and on single product pages.
-
Will hiding prices affect my SEO?
-
No. The plugin hides prices at the display level using WooCommerce’s standard price filter. Product pages remain fully indexable by search engines.
-
Does this plugin require WooCommerce?
-
Yes. WooCommerce must be installed and activated. The plugin will automatically deactivate and show an admin notice if WooCommerce is not detected.
-
How many rules can I create?
-
Unlimited. There is no cap on the number of rules.
-
Is this plugin compatible with WooCommerce Subscriptions?
-
Yes. The Add to Cart replacement logic explicitly handles WooCommerce Subscription product types.
-
Can I use this on a WordPress Multisite?
-
The plugin is designed for standard WordPress installations. Multisite support has not been officially tested.
Reseñas
Colaboradores y desarrolladores
«Hide Price and Add to Cart for WooCommerce» es un software de código abierto. Las siguientes personas han colaborado con este plugin.
ColaboradoresTraduce «Hide Price and Add to Cart for WooCommerce» a tu idioma.
¿Interesado en el desarrollo?
Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.
Registro de cambios
1.0.1
- Fix: Corrected price hiding for variable product variations.
1.0.0
- Initial release.
