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
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:
</body> tag)product.product_type == 'watches' and conditionally hides priceCurrent Problem:
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.
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:
Go to Online Store
Edit Code
Find theme.liquid file
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
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