Hello,
When my items sell out they are automatically added to an archive collection but the sold price is still visible.
I would like the sold price to change to £0.00 once the item has sold out, please could someone help with this?
URL: ellibellejewellery.com
As you can see below the price is still visible.

1 Like
Hi @Ellibelle
you can use this condition
{% if product.available %}
PRODUCT PRICE CODE HERE…
{% endif %}
@Ellibelle
sorry bt i can’t see both please show me
Sorry, I don’t understand how to do this. Is this in the code or as a condition within the collection?
Hi @Ellibelle
You have to do this with liquid code.
Do have knowlegede of liquid code?
Otherwise you can hire a shopify developer.
@Ellibelle
How proficient are you in liquid?
You should add the following code to:
{% if product.available %}
/--Price Code--\
{% endif %}
Remove the /–Price Code–\ when trying to add this to your product-template.form file
Let me know!