Need geolocation targeting or inline contact forms?
Upgrade to Pro and unlock every feature — including CF7, WPForms & Gravity Forms integration.

View Pro Version →

What Is This Extension?

Hide Price & Add to Cart — Lite is a free WooCommerce extension that gives store owners complete control over who sees product prices and the “Add to Cart” button. Using a simple rule-based system, you can hide pricing from guests, specific user roles, or all visitors — and replace it with a message or a custom button that sends visitors wherever you need them.

Unlike hacks that blank out prices with CSS (which are still visible to crawlers and anyone who views the page source), this extension removes the price from the HTML entirely for matched visitors. It is designed for wholesale stores, B2B shops, catalog-mode stores, members-only sites, and any business that does not want public pricing.

How It Works

You create one or more Hide Price Rules from your WordPress admin. Each rule is a post where you configure:

  1. What to hide — the price, the Add to Cart button, or both.
  2. Which products the rule applies to — all products, specific items, categories, tags, or brands.
  3. Who it applies to — all visitors, guests only, specific user roles, or individual users.
  4. What to show instead — custom text, nothing, or a link button pointing to any URL.

When a visitor loads a product page or shop archive, the extension evaluates your rules against that visitor and that product. If a rule matches, the price and/or cart button is swapped out — instantly, server-side, with no JavaScript flicker.


Features

🎯 Product Targeting

  • Target all products with one rule — zero per-product setup needed
  • Target specific products by searching by name
  • Target entire product categories in one rule
  • Target products by tag
  • Target products by brand (compatible with major brand plugins)
  • Compatible with simple, variable, grouped, and external product types
  • Rules fire on shop pages, category archives, search results, and single product pages

👤 Visitor Targeting

  • Target all visitors — logged-in and guests alike
  • Target guests only — logged-in customers still see prices normally
  • Target specific user roles — Subscriber, Customer, Wholesale Buyer, Editor, or any custom role
  • Target individual user accounts by username
  • One rule can match multiple roles at once

✏️ Replacement Content

  • Replace the price with any custom text — “Login to see price”, “Contact us for a quote”, “Members only”, or anything else
  • Replace “Add to Cart” with a plain text message
  • Replace “Add to Cart” with a styled link button pointing to your contact page, login page, registration page, or enquiry form
  • Optionally hide price/cart with no replacement at all — just empty space

⚡ Performance

  • Rules are loaded once per page request and stored in WordPress Object Cache — no repeated database queries per product
  • Unlimited rules with zero performance degradation
  • Lightweight codebase — no unnecessary meta queries, no bloat

🔧 Developer Tools

  • woomanagers_replace_price_text — filter the replacement price text
  • woomanagers_replace_add_to_cart_text — filter the replacement Add to Cart text
  • Translation-ready — full .pot file included
  • Follows WordPress and WooCommerce coding standards throughout

Who Uses This Extension

  • 🏭 Wholesale & B2B stores — show pricing only to approved registered buyers; guests see a “Login for wholesale pricing” message
  • 🔒 Members-only shops — require signup before revealing prices; turn your store into a gated experience
  • 💬 Quote-based businesses — replace “Add to Cart” with “Request a Quote” and link to your enquiry form
  • 🎨 Catalog-mode stores — display your full product catalog without enabling direct purchase for certain visitors
  • 🌍 Multi-market stores — hide prices from regions you do not yet ship to (upgrade to Pro for geolocation-based rules)
  • 🎓 Educational platforms — hide course prices from non-enrolled students while showing them to faculty

Lite vs Pro — Feature Comparison

Feature Lite
Free
Pro
$49.00
Core Hiding
Hide price from matched visitors
Hide “Add to Cart” button
Unlimited rules
Product Targeting
All products, categories, tags, brands
Simple, variable, grouped, external products
Visitor Targeting
Guest / all visitors
User roles (any WordPress / WooCommerce role)
Individual user accounts
Geolocation — country targeting (include/exclude)
Geolocation — state / province
Geolocation — city & zip/postcode
Replacement Options
Custom text replacement
Custom link/redirect button
Inline Contact Form 7 replacement
Inline WPForms replacement
Inline Gravity Forms replacement
Variable product attribute selector in archive
Performance & Developer
WordPress object cache for rules
Global feature toggle settings
Developer filter hooks
Translation ready
Support
Community support (WordPress.org forums)
Priority email support (1 business day)

Installation & Quick Start

  1. Make sure WooCommerce is installed and active.
  2. Install Hide Price & Add to Cart — Lite from the WordPress plugin repository (Plugins → Add New → search “WooManagers Hide Price”).
  3. Activate the plugin.
  4. In your admin menu, go to WooCommerce → Hide Price Rules → Add New.
  5. Give the rule a name, choose what to hide, which products to target, and which visitors to target.
  6. Click Publish. The rule is live immediately — no cache flush needed.

Frequently Asked Questions

Does this extension actually remove the price from the HTML, or just hide it with CSS?

It removes the price from the server-rendered HTML entirely for matched visitors. The price is never sent to the browser — it is not hidden with CSS or JavaScript. This means there is no way for a matched visitor to reveal the price by viewing source or disabling CSS.

Will it work with my theme?

Yes. The extension hooks into WooCommerce’s standard price and Add to Cart filters, which all properly-built themes respect. It is tested and compatible with Storefront, Astra, GeneratePress, Flatsome, OceanWP, and most other popular WooCommerce themes.

Does it work with variable products?

Yes. Variable product prices and the “Add to Cart / Select options” button are hidden just like simple product prices. The Pro version adds an optional variation selector in the shop archive view.

Can I set different rules for different products?

Absolutely. You can create as many rules as you need. Each rule can target a completely different set of products and a completely different set of visitors.

What happens to logged-in users who are not in a targeted role?

They see prices and Add to Cart normally. Rules only affect the specific visitors you configure them for.

Is this extension free forever?

Yes. The Lite version is hosted on WordPress.org, is open source, and will always remain free. A premium Pro version is available for stores that need geolocation targeting or form integrations.

What does the free version NOT include?

Geolocation-based rules (hide by country/state/city/zip), inline form replacement (Contact Form 7, WPForms, Gravity Forms), variable product archive selectors, and the global performance settings panel are all Pro features. See the comparison table above.

Is there support for the free version?

Community support is available through the WordPress.org support forum. Pro customers receive priority email support with a 1 business day response time.

Does it affect SEO?

For guest visitors where you have hidden prices, search engine crawlers (Googlebot) will also see the hidden state if they are not logged in. If you want prices indexed, configure your rule to target guests only and ensure search engines can crawl as logged-in users, or use a specific user role rule that does not affect crawlers.

Does it work with WooCommerce HPOS (High-Performance Order Storage)?

Yes. The extension uses WooCommerce’s standard product APIs and is compatible with HPOS.