Back to Blog

    How to Hide Prices on Shopify: 4 Hide Price Methods for Your Pricing

    By Devnzo Team
    October 21, 2026
    How to Hide Prices on Shopify: 4 Hide Price Methods for Your Pricing

    Not every store wants pricing visible to everyone. Wholesalers keep trade prices for approved buyers. Custom manufacturers prefer quotes. Luxury brands sometimes show "price on request".

    Shopify doesn't have a single "hide price" switch. But there are four reliable ways to hide the price, from a native setting to a few lines of theme code to a dedicated app.

    This guide is the how-to. We cover each method, when to use it, and the pitfalls that leave prices exposed. If you've already decided on an app, jump to our comparison of Shopify hide price apps.

    Why Would You Want to Hide Pricing?

    Why Would You Want to Hide Pricing?
    • Wholesale pricing. You want logged-in trade customers to see their pricing while guests see nothing, or a "Log in to see price" message.

    • Quote-based products. Custom, made-to-order, or freight-heavy items need a quote, not a fixed price.

    • Price agreements. Some suppliers don't allow retailers to advertise prices below a set level online.

    • Catalog-only stores. You show products but take orders offline.

    Your use case decides the method. Hiding prices for specific customers is very different from hiding prices for the entire store.

    Method 1: Use a B2B-Only Store (Native, No Coding)

    Method 1: Use a B2B-Only Store (Native, No Coding)

    If your whole store is wholesale, Shopify has a native option. In the Shopify admin, go to Online Store > Preferences and turn on Restrict access to B2B customers only. Only logged-in B2B customers can then view the store.

    This requires Shopify B2B, which is now available on the Basic, Grow, Advanced, and Plus plans. No coding is needed. You set buyers up as companies, and they sign in to see their catalog and pricing.

    Best for: stores that sell only to businesses.
    Limitation: it locks the whole online store, so it doesn't work if you also sell to consumers. For blended stores, read our guide to running B2B and B2C on Shopify.

    Method 2: Hide Prices With Liquid Code

    Method 2: Hide Prices With Liquid Code

    For a blended store, the most common DIY approach is editing theme code so prices only show to logged-in customers.

    Step 1: Duplicate Your Theme

    Go to Online Store > Themes, click the three dots, and choose Duplicate. Always test code changes on a copy.

    Step 2: Find the Price Snippet

    Click Edit code. This is where you show the price or hide it. In Online Store 2.0 themes like Dawn, the price is usually rendered by snippets/price.liquid, which is used on the product page, collection pages, and search.

    Step 3: Wrap the Price in a Customer Check

    Wrap the price output in a condition:

    {% if customer %}
      ...existing price code...
    {% else %}
      <a href="/account/login">Log in to see price</a>
    {% endif %}

    To hide prices only for some customers, check a tag instead, such as {% if customer.tags contains 'wholesale' %}. To target specific products or collections, add a product tag check too.

    Step 4: Hide the Add to Cart Button

    If guests can still add to cart, they will see the price at checkout. Apply the same condition around the add to cart button in the product form section.

    Step 5: Test Everywhere

    Check the product page, collection page, search results, quick view, cart drawer, and any upsell sections. Pricing often still appears in places you forgot, which is why coding changes need careful testing.

    Best for: a merchant comfortable with coding and theme files.
    Limitation: theme updates can overwrite edits, and every section that prints a price needs its own change.

    Method 3: Hide Prices With CSS (Not Recommended)

    You can add CSS like .price { display: none; } to hide price elements visually. It's quick, but it is not real hiding.

    • The price is still in the page source, so anyone can view it.

    • Prices may still appear in Google search results through structured data.

    • Product JSON endpoints still return the price.

    Use CSS only for cosmetic tweaks, never to protect wholesale pricing.

    Method 4: Use a Hide Price App

    Method 4: Use a Hide Price App

    An app is the easiest way to hide prices on Shopify without coding, and it gives you pricing rules you can change any time. A good hide price app lets you:

    • Set rules by login status, customer tag, product, collection, or location.

    • Replace the price with a login button, "Contact for price", or a request a quote button.

    • Hide the add to cart button at the same time.

    • Hide prices from Google by handling structured data, depending on the app.

    • Preview rules on an unpublished theme before going live.

    Popular options include SP Hide Price & B2B Lock, Wholesale Lock Manager, Locksmith, and request-a-quote apps that also hide prices. See our hide price app comparison and our list of Shopify quote apps.

    How to Hide Price for a Specific Product or Collection

    Many merchants don't need to hide pricing everywhere. They only want to hide the product price on a few items, such as custom furniture, bulk-only SKUs, or a trade collection.

    • With code: tag those products (for example, hide-price) and add a condition like {% unless product.tags contains 'hide-price' %} around the price output. Everything else keeps normal pricing.

    • With a collection rule: check whether the product belongs to a specific collection before you show the price.

    • With an app: choose a specific product or collection in the app's rule builder. Most apps on the Shopify App Store support this without editing files.

    Keep a simple list of which items have hidden pricing. It makes audits much easier when your catalog grows.

    What Should You Show Instead of the Price?

    Never remove prices and leave a blank space. Shoppers assume something is broken. Replace pricing with a clear action:

    • "Log in to see pricing" for wholesale stores.

    • "Request a quote" for custom or bulk orders.

    • "Contact us for pricing" with a phone, email, or WhatsApp link.

    • "Apply for a trade account" linking to a registration form.

    Good price visibility rules show the price to the right people and give everyone else a next step. That keeps conversion paths open even when pricing is private.

    Which Way to Hide Prices Should You Choose?

    Method

    Coding

    Blended store

    Truly hidden

    B2B-only store

    None

    No

    Yes

    Liquid code

    Some

    Yes

    Mostly (check JSON and structured data)

    CSS

    Minimal

    Yes

    No

    App

    None

    Yes

    Depends on the app

    Common Mistakes When Hiding Product Prices

    • Forgetting Google. The price in structured data can still show in search results.

    • Leaving checkout open. If a guest can add to cart, the price is not hidden.

    • Missing sections. Featured product blocks, recommendations, and quick-add drawers each display prices.

    • No clear next step. Replace the price with a login link or quote form, not an empty space.

    FAQ

    Can I hide pricing on Shopify without an app?

    Yes. Use a B2B-only store setting or edit your Liquid theme code to show prices only to logged-in customers.

    Can I hide prices for specific products only?

    Yes. Use a product tag in your Liquid condition, or set product rules in an app.

    Will hiding prices hurt SEO?

    Product pages can still rank. Google may show fewer rich result details without a price, so weigh that against your pricing policy.

    Can I show prices only to wholesale customers?

    Yes. Tag wholesale customers and check that tag in code, or use native Shopify B2B so companies see their own catalog pricing.

    Final Thoughts

    There is no single way to hide prices on Shopify, but there is a right one for your store. Sell only to businesses? Use the B2B-only setting. Run a blended store and know some code? Use Liquid. Want no coding and more control? Use an app.

    Whatever you choose, test as a guest, check search results, and always give visitors a clear next step.