xpay✦ Commerce
Directory
WooCommerce plugins
Hide Price and Add to Cart for WooCommerce
Hide Price and Add to Cart for WooCommerce
Hide product prices and the Add to Cart button in WooCommerce with rule-based control. Perfect for B2B, wholesale, and catalog mode stores.
5.0
(3 ratings)Will this break my store?
What the WordPress.org registry says about keeping Hide Price and Add to Cart for WooCommerce running.
Tested to 7.1.4
Tested against the WordPress branch in use today.5 days ago
At least 2.6 releases a year since launch. WordPress.org only lists versions still available for download, so the real number may be higher.7.4
Your host must be running at least this version.6.2
woocommerce
These must be installed and active first.1
A single maintainer. Worth knowing if the plugin is load-bearing for your store.Maintenance & trust
Scored on how Hide Price and Add to Cart for WooCommerce is looked after — not on how many stores run it.
95
out of 100Maintenance
35 / 35WordPress compatibility
20 / 20Support responsiveness
Not enough dataMerchant satisfaction
11 / 15Listing transparency
10 / 10Ratings
5.0
3 ratingsHide Price and Add to Cart for WooCommerce, by B2B Managers, 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:
* b2bmanagers_replace_price_text — Filter the replacement text shown instead of the price
* b2bmanagers_replace_add_to_cart_text — Filter the replacement text shown instead of the Add to Cart button
* b2bmanagers_custom_button_atts — Filter the class and style attributes of the custom link button
* wmhp_hide_price_register_post_type — Customize the Hide Price Rules post type registration
The older woomanagers_replace_price_text, woomanagers_replace_add_to_cart_text and woomanagers_custom_button_atts filters still run, so code written for earlier versions keeps working. New code should use the b2bmanagers_ names.
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
Free and Pro
Everything described above is included in this free plugin, with no rule limits, no time limits and no locked settings.
For stores that need more, Hide Price & Add to Cart Pro for WooCommerce is available from B2B Managers. It adds:
- Geolocation targeting — show or hide prices by country, state, city or ZIP code
- Inline enquiry forms — replace the Add to Cart button with a Contact Form 7, WPForms or Gravity Forms form
- Variable product selectors on shop and archive pages
- A global performance settings panel
The free plugin works on its own and does not require the Pro version.
Part of the B2B Managers range
Hide Price and Add to Cart is part of a free range of B2B and wholesale tools for WooCommerce by B2B Managers. Each plugin works on its own and they work well together:
- Role Based Pricing for WooCommerce — wholesale and trade prices per user role.
- Tiered Pricing for WooCommerce — quantity-based bulk discounts.
- Catalog Access Rules for WooCommerce — hide products or categories from guests or selected roles.
- Minimum Order Quantity & Amount for WooCommerce — minimum quantities, pack sizes and a minimum order amount.
- Request a Quote for WooCommerce — let customers request a quote instead of checking out.
- Registration Form & Account Approval for WooCommerce — custom registration fields and manual approval of new customer accounts.
- Tax and VAT Exempt for WooCommerce — VAT number field and tax-exempt customers.
- Hide Payment & Shipping Methods by User Role for WooCommerce — a different checkout for each customer group.
Documentation and support
Documentation, setup guides and the full B2B Managers extension catalogue are on b2bmanagers.com. For questions about this plugin, visit the plugin page or use the wordpress.org support forum.
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.
Can I replace the Add to Cart button with a link to my WhatsApp or contact form?
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. If WooCommerce is not active, the plugin stays active but does nothing and shows an admin notice until WooCommerce is activated.
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.
Is there a Pro version?
Yes. Hide Price & Add to Cart Pro for WooCommerce adds geolocation targeting (country, state, city, ZIP code), inline enquiry forms (Contact Form 7, WPForms, Gravity Forms), variable product selectors on archive pages and a global performance settings panel. Every feature listed on this page is included in the free plugin.
Where can I find documentation?
Setup guides and documentation are on the plugin page at b2bmanagers.com. For help, open a topic in the wordpress.org support forum for this plugin.
What happens to my rules if I delete the plugin?
When you delete the plugin from the Plugins screen, it asks whether to keep your Hide Price Rules or delete them too. Kept rules come back if you install the plugin again. If Hide Price & Add to Cart Pro or the B2B Managers Suite is installed, the rules are always kept because they use them.
Can I use this on a WordPress Multisite?
The plugin is designed for standard WordPress installations. Multisite support has not been officially tested.
Categories
Plugin details
Tags on WordPress.org
