How can I display an image metafield on the thank you page?

Hi, I am looking to display the image from the following file metafield on the thankyou page. Is there a way of doing this please?

Thanks :slightly_smiling_face:

order.metafields.my_fields.safe_place_photo

Try this

{% assign safePlacePhoto = order.attributes.metafields.my_fields.safe_place_photo %}

{% if safePlacePhoto != blank %}
  
{% endif %}

Hi @LittlePaddocks ,
This is Richard from PageFly - Shopify Page Builder App.

You can you html into metafield. So, you just call metafield nameBest regards,
Richard | PageFly

Hi @PageFly-Richard & @Guleria .

I have added the below code using the additional scripts section in checkout settings. But it still doesn’t seem to be showing. Any advice please?

Thanks :slightly_smiling_face:


Try this one


1 Like

@Guleria Thanks for the suggestion, I have added it in, and the content box is displaying but unfortunately still no image… :slightly_smiling_face: