Change $0 price to "Free" text in Dawn theme

Hi,

Please, Help!

I’m trying to change where product price is $0.00, the word “Free” will be showen instead.

Thanks in advanced!

I found a solution by editing the code. Many thanks!

Hi,
May I which part on the code you’ve edited? I’m also looking into this “FREE” instead of $0.00

@excaliber211 need to edit price template code to check if the price is 0.00 , and if yes then change it to free

Hi,

You can do this with a small edit in Dawn—no app needed.

Steps:

  1. Go to Online Store → Themes → … → Edit code

  2. Open Snippets → price.liquid

  3. Replace the price output with:

{% if product.selected_or_first_available_variant.price == 0 %}
  Free
{% else %}
  {{ product.selected_or_first_available_variant.price | money }}
{% endif %}

This will show “Free” instead of $0.00 across product cards and product pages.

where can i see the price template code? is this on price.liquid?

@excaliber211 yes, please check it, if you find it difficult then I can check it for you, I will need collab code to send access request.