Hide product price of specific product type

Topic summary

A user needs to hide prices for products categorized as ‘watches’ (enquiry-only items) on their Shopify store using the Prestige theme.

Initial Solution Attempted:

  • Add Liquid code to theme.liquid file (above </body> tag)
  • Code checks if product.product_type == 'watches' and conditionally hides price

Current Problem:

  • Prices successfully hidden on collection pages
  • Prices still visible on search results page despite implementing the suggested code
  • Two different code variations were tried, neither resolved the search page issue

Status: Unresolved. The user is seeking an alternative method to hide prices specifically from search results, as the current Liquid conditional logic doesn’t affect that template.

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

Hi All, need to hide the price of a certain product type as is enquiries only. Need to hide the product price from the search.

Theme prestige, URL https://suite-nine.com/

Thanks, Daniel

Hey @DASCPA

Can you tell me the exact name of your product type so then I can give you a proper code?

Best Regards,

Moeed

it is for product type ‘watches’ thank you

Hey @DASCPA

Follow these Steps:

  1. Go to Online Store

  2. Edit Code

  3. Find theme.liquid file

  4. Add the following code in the bottom of the file above tag

{% if product.product_type == 'watches' %}

{% else %}

{% endif %}

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

Hello to hide the price of a certain product type and make it an enquiry-only product in your e-commerce platform, you’ll need to make a few changes. The exact steps depend on the platform or CMS you’re using (e.g., WooCommerce, Shopify, Magento, etc.). Below are general instructions that should guide you through the process

Hi I followed this and unfortunately the prices still show in search, see below.

Hey @DASCPA

Try this code instead, this should work

{% if product.product_type == 'watches' %}

{% else %}

{% endif %}

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

Hi This code is still not working. Do you know any other way this can be done? the price is hidden from the collection page but I need the price hidden from the search page.

Hi Moeed, Do you know how I can hide the products price on the search page of my website. it still showing after your code