How to display in-stock items on the Focal theme product page?

I know this question has been asked and answered a couple times before but it seems they were always relating to different themes and that seems to make a difference. I’m using the Focal theme and I want the items that are in stock, or have a positive quantity to show potential buyers that they are in fact “in stock” on the product page and if possible, the collection page as well. If anyone can help with how I would do this, it would be very much appreciated!

Thanks!

Hello @rwe

You can add below condition whereever you want to show ‘In Stock’ message.

{% assign current_variant = product.selected_or_first_available_variant %}

{% if current_variant.available %}

In Stock

{% endif %}