How can I effectively hide product prices in certain collections?

Hi @nmaryami

You’re using the wrong line of codes. Try instead below code.

{% if card_product.tags contains "hide" %}

Price on demand only

{% else %}

{% render 'price', product: card_product, price_class: '' %}

{% endif %}