Some stores should not show prices to everyone. A wholesaler only quotes trade customers. A members club keeps its prices for members. A manufacturer wants dealers to log in before they see a price list. And plenty of shops simply want visitors to create an account before they can buy. Hide Price fo
PricingFree downloadThe WordPress.org download is free. Pro versions, add-ons or external services may cost extra.
CompatibilityRequires WordPress 6.5 and PHP 7.4.
SourceWordPress plugins · Oct 29, 2026
01 / Source details
Aboutthistool.
Some stores should not show prices to everyone. A wholesaler only quotes trade customers. A members club keeps its prices for members. A manufacturer wants dealers to log in before they see a price list. And plenty of shops simply want visitors to create an account before they can buy.
Hide Price for WooCommerce is a free WooCommerce hide price plugin that hides the price and the Add to Cart button from the visitors you choose, on your whole catalog or only on the products and categories you pick. In their place, visitors see your own message, such as “Login to view price”, and a button that gives them a next step: a login popup that brings them straight back to the product, or a link to your contact or trade application page.
A hidden price is also removed from the product’s schema markup and from WooCommerce Store API responses used by block themes, and protected products cannot be added to the cart, so the price stays hidden everywhere the plugin hides it.
Quick links
Free Demo
Pro Demo
Documentation
Support
Free vs Pro Comparison
Upgrade to Pro
How it works
01Choose who should not see prices: guests, any user role, or both.
02Choose where: all products, or selected products and categories.
03Write the message shown in place of the price and pick what the button does.
04A visitor in that audience sees your message and button instead of the price and Add to Cart.
05They log in through the popup and land back on the same product, now with the price.
What the free plugin does
Hide prices for guests or any user role
Hide prices from guests (logged out visitors), the most common setup
Add any WordPress or WooCommerce role, such as Customer or Subscriber, to run a wholesale or members only catalog
Logged in customers outside the audience see your normal store
Hide the price, or only the Add to Cart button
Hide the price and the Add to Cart button together
Or keep prices public and hide only Add to Cart, for a catalog that takes orders another way
Choose which products are protected
Hide prices on all products, or only on the products and categories you select
Pick single variations of a variable product. The price range of the parent is rebuilt from the variations visitors may see, so a hidden price never shows up in a range
Grouped products get the same treatment
Exclude products or categories that should always show their price
A Price visibility setting on every product edit screen: Always hide price, Always show price, or Follow plugin settings
Your message in place of the price
Write your own text, for example “Login to view price” or “Trade prices for members”
Basic HTML is allowed, so the message can contain a link
Placeholders: {login_url}, {register_url} and {product_name}
Pick a text color and a background color to show the message as a badge
A replacement button that keeps the visitor
Login to see the price: opens a login popup on the product page. After logging in, the visitor lands back on the same product. Account registration links to My Account when you allow it
Custom URL: send visitors to a contact page, a wholesale application form or any link you like
No button: just the message
Your own button text, plus extra CSS classes to match your theme’s buttons
Logged in visitors never see a login button. When you hide prices from a logged in role, they get a Learn more button to your custom URL instead, such as a trade application page
Leak proof price hiding
Block purchases: protected products cannot be bought, even through a direct ?add-to-cart= link, the Cart block or a theme that ignores the hidden button
Search results: the price is removed from the product’s schema markup, so Google does not show it in rich results
Blocks and Store API: prices are stripped from WooCommerce Store API responses, which product blocks and headless front ends read. The price range behind the Filter by Price block is withheld too, so it cannot reveal a hidden price
Works on shop pages, category pages, single products, related products and quick view plugins that load products over admin-ajax
Works with classic themes and block themes, including the Add to Cart form block
Dashboard and setup wizard
A setup wizard gets you running in four short steps
The dashboard shows how many products are protected, why each one is protected, and how many times visitors clicked the replacement button, with a trend chart and your most clicked products
A checklist on the dashboard shows what is left to set up
Who this is for
Wholesale and B2B stores that only show prices to trade customers
Members only shops and private catalogs
Manufacturers and distributors with dealer price lists
Stores that want more registered customers
Shops that show a catalog but take orders by phone, email or a form
Free vs Pro
The free plugin covers one audience and one set of protected products for your whole store. Hide Price Pro adds the tools for stores that need more than one rule, want to collect quote requests, or want to know which hidden prices turn into customers.
Rules engine (Pro)
As many rules as you need, run by priority, each with ALL or ANY matching
Conditions on product, category, tag, product type, price, stock quantity, stock status, on sale, featured, virtual, downloadable, review count, average rating and published date
A different audience, price text, button action, button text and link for every rule
Start and end dates, for example to reveal prices at a product launch
Duplicate, pause and reactivate rules in one click
Request a quote (Pro)
A Request a Quote button that opens a form on the product page
Every request stored in a Quote Requests inbox with search, statuses and bulk actions
Email alerts to your team and a copy to the customer, editable under WooCommerce > Settings > Emails
Honeypot and rate limit spam protection
Country rules and conversion analytics (Pro)
Hide prices only in the countries you choose, or everywhere except them
See the logins and signups that came from a hidden price, the click to login rate, and quote requests by status
Every setting you make in the free plugin carries over when you upgrade.
A note from the founder
We build DevDiggers plugins for real WooCommerce stores, and we answer the support forum ourselves. If something does not work the way you expect, or you would like a feature, open a topic in the support forum. We read every one.
External services
The bundled DevDiggers framework, which draws the admin screens, connects to the services below. All of them run only inside the WordPress admin. The storefront makes no external requests.
1. DevDiggers extensions directory
What it is: A read only API on devdiggers.com that returns the public list of DevDiggers extensions.
What it is used for: Showing available DevDiggers extensions on the Extensions admin page.
When data is sent: Never by default. The Extensions admin page shows a “Load extensions from devdiggers.com” button, and the list is requested only after an administrator clicks it (opt-in). The response is cached for 24 hours.
What data is sent: A standard outbound HTTP request only, meaning your server’s IP address and a plugin user agent string. No personal data and no store data are sent. The page also loads each listed extension’s image from devdiggers.com in the administrator’s browser.
The services above are provided by DevDiggers. By using them you agree to the DevDiggers Terms and Conditions (https://devdiggers.com/terms-and-conditions/) and Privacy Policy (https://devdiggers.com/privacy-policy/).
3. Gravatar (avatar images)
What it is: Gravatar, the avatar service operated by Automattic.
What it is used for: WordPress core’s get_avatar_url() shows the logged in administrator’s avatar in the plugin dashboard header. This is standard WordPress behaviour.
When data is sent: Only when a logged in administrator opens the plugin dashboard and avatars are enabled under Settings > Discussion. Turning avatars off there stops the request.
What data is sent: A hash of the administrator’s email address inside the image URL, plus the usual request data such as IP address and user agent.
Endpoint: https://secure.gravatar.com/avatar/
Terms of Service: https://automattic.com/terms/
Privacy Policy: https://automattic.com/privacy/
This plugin contains no licence checks, no update checks and no telemetry.
Source code and build tools
The admin and storefront JavaScript and CSS in assets/ are compiled from the src/ folder with webpack and Babel. The complete, human readable source code, including all build configuration, is published in our public GitHub repository:
06Run npm install to install the build dependencies listed in package.json .
07Run npm run build to compile the production assets into assets/js and assets/css .
Two third party libraries used by the admin screens ship unmodified under the MIT licence inside devdiggers-framework/assets/js/ : Chart.js (https://www.chartjs.org) and Select2 (https://select2.org).
See it in action
Screenshots & previews.
The dashboard with protected products, button clicks and why prices are hidden.A guest sees your message and a login button instead of the price and Add to Cart.The login popup on the product page, which brings the visitor back to the same product.The shop as a guest: protected products show your message, an excluded product keeps its price.General settings: who does not see prices, what to hide and which products.Exclusions and the protection options for schema markup, the Store API and direct purchases.Display settings for the price message and the replacement button.The Price visibility setting on the product edit screen.The setup wizard.
02 / Source details
Gettingstarted.
Automatic installation
01In your WordPress admin, go to Plugins > Add New.
02Search for “DevDiggers Hide Price”.
03Click Install Now, then Activate.
Manual installation
04Download the plugin zip file.
05Go to Plugins > Add New > Upload Plugin and choose the zip file.
06Click Install Now, then Activate.
After activating
07The setup wizard opens. Choose who should not see prices, where to hide them and what visitors see instead.
08Fine tune exclusions and protection under DevDiggers Plugins > Hide Price > Configuration.
09Open your shop in a private browser window to see it as a guest.
Requirements
10WordPress 6.5 or later
11WooCommerce 9.0 or later
12PHP 7.4 or later
03 / Source details
Frequently asked questions.
How do I hide prices from guests in WooCommerce?
Install the plugin and turn it on in the setup wizard. Guests is the default audience and All products the default scope, so every price is hidden from logged out visitors right away.
How do I show prices only to logged in customers?
Leave Hide Prices For set to Guests. Everyone who is logged in sees prices. To hide prices from some logged in customers too, add their user role.
Can I hide prices for a wholesale or members only catalog?
Yes. Add the roles that should not see prices, for example Customer, and keep your wholesale role out of the list. Those users see the price message, everyone else sees prices.
Can I hide only the Add to Cart button and keep the price?
Yes. Under Configuration > General, set What to Hide to “Add to cart button only”.
Can I hide prices on some products only?
Yes. Set Hide Prices On to “Selected products and categories” and pick them. You can also set any product to always hide or always show its price from its edit screen.
Does it work with variable products?
Yes. Hide a whole variable product, or pick single variations. When only some variations are hidden, the price range shown for the product is rebuilt from the visible ones.
Can visitors still buy a protected product through a direct link?
No, as long as Block Purchases is on (it is by default). The product is marked as not purchasable on the server, so ?add-to-cart= links and the Cart block refuse it.
Will Google still show my hidden prices?
Not from your product pages. The price is removed from the schema markup. Search results already indexed may take a while to refresh.
Does it work with the WooCommerce blocks?
Yes. Prices are removed from the Store API responses that the product blocks use, and protected products cannot be added to the Cart block.
Does it work with block themes?
Yes. In block themes such as Twenty Twenty-Five, the Add to Cart form block is replaced by your button on protected products, just like the classic product page.
Can shop managers change the settings?
Yes. Anyone who can manage WooCommerce can open and save the plugin settings, so a Shop Manager does not need administrator access.
Does it work with page caching?
Logged in visitors usually bypass the page cache, so they always see the right prices. If your cache serves pages to logged in users, exclude product and shop pages for them.
What does the dashboard count?
Clicks on the button that replaces Add to Cart, per day and per product, plus how many products are protected. You can turn the click counter off under Configuration > General.
Does the plugin collect personal data?
No. The click counter stores a daily total and a total per product in your own database. It does not store IP addresses, user IDs or cookies.
Will my settings be kept if I upgrade to Pro?
Yes. Pro uses the same settings, and turns your protected products into its first rule automatically.
Can I translate the plugin?
Yes. It is translation ready, and the price text, button text and custom URL can be translated with WPML.
Where can I get help?
Open a topic in the support forum or read the documentation .
Website LLMs.txt and LLMs-Full.txt Generator is an LLMs.txt generator and llms-full.txt generator for WordPress. It helps site owners generate, manage, preview, validate, and serve AI discovery files from published public content. Use it to create structured /llms.txt and optional /llms-full.txt end
EngageDock AI is a customizable floating contact widget for WordPress websites that want more leads and faster visitor communication. It helps small businesses turn website traffic into calls, texts, emails, and callback requests from one clean contact panel. Key Features: Click-to-Call – One tap ca
Altify AI is an auto ALT text and AI ALT text plugin for WordPress images. It helps generate descriptive image ALT text for accessibility and image SEO. Use bulk image ALT text tools for your Media Library, generate featured image ALT text automatically, and scale WooCommerce image ALT updates with
The Accepted Payment Methods plugin is a straightforward, lightweight solution that enhances your website by displaying visually appealing icons of the payment methods you accept. This plugin is ideal for a variety of websites, including e-commerce platforms, service-oriented websites, and informati