Guide · Fizz Hide Price
How to keep wholesale prices private on Shopify
Hiding a price on screen isn't the same as keeping it private. How to keep trade prices away from retail shoppers, competitors and search engines on Shopify.
Wholesale prices are usually the ones you least want a retail customer, or a competitor, to see. On Shopify there's a real difference between hiding a price on the page and keeping it private. This guide explains the difference and the native setups that keep trade prices private.
Why hidden isn't private
When a theme or app "hides" a price, the browser usually still receives it. It can be in:
- The page's HTML, hidden with CSS or covered by a message.
- The product's JSON, at
/products/<handle>.json any Shopify store. - Structured data for search engines. A merchant on the Shopify Community found wholesale prices in search results for exactly this reason: "Search engines will be pulling the price from the schema.org structured data in the code of the product pages." The same reply warns that results stay visible "until the pages are re-crawled".
So if your store's product price is the wholesale price, anyone who looks can find it. The fix is to make sure the public price on the product isn't the wholesale one.
Setup 1: B2B catalogs in a blended store
A blended store sells to retail and trade customers from one storefront. With Shopify B2B:
- Your products keep their normal retail price for everyone.
- Wholesale prices live in B2B catalogs, which can set fixed prices, percentage adjustments, quantity rules and volume breaks, and include or exclude products (catalogs and pricing in B2B).
- Shopify's guide to blended and dedicated stores says: "Only logged-in B2B customers can view B2B prices, products, and account information."
Because the wholesale price lives in the catalog rather than on the product, logged-out visitors and crawlers get the product's retail price. That makes this the native way to keep trade prices away from the public while still selling retail. Check it with step 2 at the end of this guide.
To set it up: create a company for each trade customer (Customers > Companies), add their people as customers of the company, then create a catalog and assign it. On Basic, Grow and Advanced, catalogs reach company locations through B2B markets, with up to 3 active catalog assignments; on Plus you can assign catalogs directly to company locations (B2B plan features).
Setup 2: A dedicated, private wholesale store
If you only sell to trade, make the whole store private. Shopify's password page guide walks through it:
- In Shopify admin, go to Online Store > Preferences.
- In Store access, turn on Private mode.
- Enter a password (different from your admin password).
- Optionally add a message for visitors and select Restrict access to B2B customers only.
- Save.
Private mode hides the store's pages "from visitors and search engines". Shopify also notes that a dedicated B2B store can be gated "so that the URL and login page is only accessible to B2B customers" (blended and dedicated stores). This is the strongest option, and it only suits stores with no retail shoppers.
Setup 3: Hidden prices plus a checkout block
Some stores don't use B2B companies yet: trade customers are ordinary customer accounts with a tag like wholesale, and the product price shown is the one they pay. In that case:
- Hide prices and buy buttons on screen for guests and untagged customers, with theme code or an app.
- Add a checkout check so only allowed customers can buy those products. Shopify lets apps add a cart and checkout validation Function whose errors "always block checkout".
- Accept that the price is still in the page code and may appear in search results. If that matters, move to Setup 1 or 2.
This is where Fizz Hide Price fits. It hides prices and buy buttons for the products and customers you choose, shows a log-in link or a quote form instead, and blocks the purchase at checkout with a Shopify Function, including through a direct cart link. It doesn't make prices private: the price is still in the page source and the product's .js data, and it doesn't change your structured data. Use it when you want to stop the sale and discourage casual browsing, and use catalogs or a private store when the price itself must stay secret.
Which setup to choose
| Your situation | Use |
|---|---|
| Retail and trade in one store, trade price must stay private | B2B catalogs (Setup 1) |
| Trade only | Private store, restricted to B2B customers (Setup 2) |
| Trade customers are tagged accounts; you want guests not to buy or see prices on screen | Hidden prices plus checkout block (Setup 3) |
| Prices are on request for everyone | A quote form instead of a price, plus a checkout block |
Checks after setting it up
- Open your store in a private window and look at a product page, a collection and search results.
- Visit
/products/<handle>.jsfor a trade product and see which price it shows. - Try adding a trade product to the cart as a guest, and go to checkout.
- Log in as a trade customer and repeat.
- Search for one of your products a few weeks later to see what price search engines show.