How can I hide prices for specific products on my ecommerce site?

Topic summary

A store owner is using custom code to hide product prices and tax information on their made-to-measure wooden gates site, as they rely on a size price calculator instead. However, they need standard pricing to display for certain product categories like ironmongery and gate posts.

Proposed Solutions:

  • Conditional logic approach: Add vendor tags, collections, or other identifiers to distinguish products, then modify the theme code to show/hide prices based on these conditions (e.g., “if vendor == X, show price; otherwise, hide”).

  • Product template method: Create a separate product template within the theme with the price section hidden, then assign this template only to products requiring hidden prices. Screenshots were provided showing this implementation.

  • Third-party app option: The Easify Product Options app was suggested as an alternative, offering similar custom size-based price calculator functionality.

The discussion remains open, with contributors requesting to see the existing code and understand the current size calculator setup to provide more targeted assistance.

Summarized with AI on November 11. AI used: claude-sonnet-4-5-20250929.

Hi, I have used some code given to me by somebody to hide the price and “tax included” on each product page, this is because I’m using a size price calculator to display the price of the made to measure wooden gates on my site.
Although some products like Ironmongery need to have the price displayed as normal, Can somebody help on how to do this. A link to my site is below and password is “Chameleon”

So all gates (double gates, single gates etc) need the price and tax hidden, but for gate posts and ironmongery I would like the price to show as normal

Thanks in advance.

https://512f21.myshopify.com/ Psswd: Chameleon

You need to have some way to identify products where prices should be shown or hidden. It should be possible to distinguish them by vendor, tag, or collection. So, for example, the price can be visible for all products where the vendor is “X.” Then you can create a condition in your theme file where you added your code. Something like if vendor == X, then show; otherwise, don’t show.
Maybe if you can share your code, it will be easier to help.

Hi @CraigReep ,

To conceal the price of specific products, consider creating a new Product Template within your theme. Within this template, simply hide the Price section. Subsequently, apply this template to the products for which you wish to hide the price. For example:

We’re really interested in understanding how the size price calculator operates on your store. Our Easify Product Options app offers a similar custom size price calculator based on customer-provided dimensions. It would be great to hear about your specific requirements as a store owner to ensure our app meets practical needs or if there are any improvements we could make. If you’re open to it, please share your thoughts. Thanks! :blush:

Hey @CraigReep,

The easiest way is to use one tag to control everything.

  1. Add a tag like HidePrice to all gate products.

  2. Find the place where your theme prints the price (usually in price.liquid).

  3. Replace the price with this very simple code:

{% if product.tags contains 'HidePrice' %}
  <!-- hide price -->
{% else %}
  {{ product.price | money }}
{% endif %}

That’s it — gates will hide the price, and ironmongery will show normally.

If editing code is stressful, some stores use a hide-price app so they don’t have to touch the theme when it updates. But happy to help you find the exact file if you share your theme name. :blush: