Open the ‘product-item.liquid’ snippet and look for where the product price is output, and then wrap it with an ‘unless’ statement like this:
{% unless product.tags contains 'Hide' %}
...
{% endunless %}
Goal: hide the price on collection (grid) pages only for specific Shopify products (e.g., limited items requiring contact) and optionally show a message instead, using a product tag such as “Hide.”
What worked (Prestige theme):
{% unless product.tags contains 'Hide' %} ...price output... {% endunless %}.{% if product.tags contains 'Hide' %} Price on demand only {% else %} ...price output... {% endif %}.Key notes:
product.tags checks each product’s tags. The condition must wrap only the price markup.Open/ongoing:
Open the ‘product-item.liquid’ snippet and look for where the product price is output, and then wrap it with an ‘unless’ statement like this:
{% unless product.tags contains 'Hide' %}
...
{% endunless %}