Hi,
I have got a few metafields for data on my product page, such as size, condition, more info and I would like these to not be displaed if they do not have any information on them.
Is this possible?
my webiste us www.secondsnuggle.co.uk
Thanks
Hi,
I have got a few metafields for data on my product page, such as size, condition, more info and I would like these to not be displaed if they do not have any information on them.
Is this possible?
my webiste us www.secondsnuggle.co.uk
Thanks
Hello @SecondSnuggle ,
You can add condition, simple
{% if product.metafields.custom.length.value != blank %}
YOUR STUFF
{% endif %}
Thank you, where do I put this?
I have the meta field on the product page in a custom block, the title.
I have a website developed by halo.
If you are using DAWN theme, past this code to main-product.liquid file where show all the custom fields
I message you inbox.