Have product say "sold" and hide price

Hello,

Currently when I sell something and manually set the inventory to 0 it says “contact for price” and still displays the price. Once I set the inventory to 0 I would like to display “sold” without showing the price. Our inventory and categories change frequently so I would like to show some past examples of what we have had and may have again.

Many thanks.

1 Like

Hi,

You will need to find couple of files that show product prices, such as product-grid-item, then you will need to find the line that shows the price of product. There, please insert:

{% unless product.inventory < 1 %}
-
-
your price code
-
-
{% endunles %}

Hi @LondonCollector

What theme are you using?

Hi @made4Uo , we are using the Empire theme,

Thanks