Hiding specific product prices from search results

Topic summary

Issue: Certain products aren’t for sale yet, so their prices are hidden on product pages, but the placeholder $999.99 still appears in site search results (IMPACT theme).

Proposed approach: Use a product tag to selectively suppress prices in search results. Specifically:

  • Tag affected products with “hide-price.”
  • Edit the search results template (search.liquid) to conditionally render prices only when the product does not have that tag.
  • The shared Liquid snippet checks result.object_type == ‘product’, maps to the product via all_products[result.handle], and wraps the price output in an “unless product.tags contains ‘hide-price’” block. Liquid is Shopify’s templating language.

Notes: A screenshot was provided illustrating the price showing in search, but the core solution is template logic. No changes to product pages were suggested, only search results.

Status: Suggested solution provided; no confirmation from the original poster yet, so resolution is pending.

Summarized with AI on December 24. AI used: gpt-5.

There are specific products on my site that are not yet for sale (and therefore do not have set prices). I currently have them listed as $999.99 on the backend and have hidden that price and all purchase options from the site. However, when you search for the product on the site, the price shows. Is there a way to hide prices in search results for only specific products?

I am using IMPACT theme and site url is: https://denovadetect.com/

First, tag the products you want to hide the price for with hide-price. Then, edit your search results template to hide the price for those tagged products.

Find the search.liquid template or the section that renders search results.

{% for result in search.results %}
  {% if result.object_type == 'product' %}
    
      ## {{ result.title }}
      {% assign product = all_products[result.handle] %}
      {% unless product.tags contains 'hide-price' %}
        

{{ result.price | money }}

      {% endunless %}
    

  {% endif %}
{% endfor %}

This checks if the product has the hide-price tag and hides the price if it does

hope this helps!