Help on hiding product price set to £0

Hello,

I’m currently running the ‘Tinker’ theme and I’m now looking at hiding the price when the product is not sold out, but the amount is set to £0. I’m currently using this option for items that I want customers to request a price (‘price on application’) for high-end value items.

Can anyone please provide any assistance?

1 Like

Hi @blonde_creative use an alternate template with the price-block disabled for free $0 prices items or price-upon-request type merchandising.
For themes without control price displays you will need to find the suitable CSS band-aid or advanced code to disable prices.
https://help.shopify.com/en/manual/online-store/themes/os20/theme-structure/templates#create-a-new-template

If this is per variant then that’s an advanced theme customization.
Reach out to me for for customization services, :speaking_head: :postbox: click profile pic on forums for options to connect.

Hello @blonde_creative,

You can apply custom CSS coding to hiding the price.

Hi @blonde_creative

If you’re using the Tinker theme and want to hide the price when the product is not sold out but the price is set to £0, we can do this with a small Liquid condition.

For example, inside your product price snippet, you can add a check like:

{% if product.price == 0 and product.available %}
  <!-- Hide price and show custom message -->
  <span class="poa-text">Price on Application</span>
{% else %}
  {{ product.price | money }}
{% endif %}

Best regards,
Devcoder :laptop: