Hide Price Only For Products Prices At $0.00 (Not Just Sold Out)

Shopify Partner
1 0 0



I've store with prestige theme. 


I want to hide products prices that have prices $0.00 

Please let me know thanks!

Reply 1 (1)

28 3 1

To hide the price when the price equals $0, you need to enclose the liquid code responsible for showing the price within a conditional statement. Here's how you can do it:

{% unless product.price == 0 %}
   <!-- Your liquid code to display the price here -->
{% endunless %}


If my solution has been helpful, you can consider supporting me via Buy Me a Coffee.