Position a custom metafield on a product page

I’d like the metafield statement to appear underneath the product name. Not below the image?

This is my code:

{% if product.metafields.custom.country.value != blank %}

Made in {{ product.metafields.custom.country.value }}

{% endif %}

Please advise how and where i should copy the above code? I’m new to metafield and if statements

site: https://mygroovyplace.myshopify.com/collections/tumble-dryers/products/tumble-dryers-test?variant=42589402005663

Password: ohtrow

G’day Rob!

It is a bit tough without looking at your backend. You have the metafield displaying which is the first step. The problem is you have it in the wrong container. You need to put it with all the other product-block. Search the product sections for product-block and see if you can find where they are.

An easier way however would be to use a dynamic source within the Customize section. Go to the product template within Customize and see if you can add another block. Then set the content to :

Made in {Country Code metafield}

Hope that helps!

Thanks Glenn, the issue I have if I follow your advice is that where there isnt any content in a metafield, I want the metafield to be hidden? How can I achieve this