Hide product price unless product belongs to a collection

m4trixdev
New Member
3 0 0

Hello there,

is there a way to hide the product price in the product price unless that product belong to a specific collection?

I believe I need to use something like this

{% unless xxx %}

{% include 'product-price' %}
{% endunless %}

 I am not sure which condition xxx I could add. Any idea?

0 Likes