New Shopify Certification now available: Liquid Storefronts for Theme Developers

How to get value of metaobjects in order status page via liquid template

Shopify Partner
1 0 0



we are a store who provides 3D scanning service for our customers and we are using shopify to process the POS checkout and customer management.


Our working flow is that the customer finishes the 3D scanning in our local shop, we store the 3D data and upload the link to a custom metaObjects via an shopify app developed by us and running locally in our server. 



The Costomer Model Data contains a meta object for each individual order(and scanning). Now I would like to extract the info and show the link in the checkout thank-you page, so that the customer can view the 3D model or download it in any time.





However, I can't retrieve the metaObject from the exposed liquid objects in this page. According to, checkout and shop libquid objects are accessible. When I try





{{ checkout.order.metafields.custom_model_data.<handle> | json}}


I got a response like 






and if I try to use such code 





 {{shop.metaobjects.customer_model_data.<handle> | json}





I got nothing, it's an empty object.


I have checked that the metaObject content is active and it's accessible by the shop. Did I miss something? I have spent on this issue for a long while, thanks a lot in advance for any help.


Best regards

Reply 1 (1)
Shopify Partner
1415 131 152

First this is an array I think you should use for loop and try .value to get the metaobject details.




For any custom development WhatsApp or connect at Email ID: for quick consultation. | YouTube Videos
To support Buy Me a Coffee