Personalized checkout and custom promotions with Shopify Scripts
Hi
I've raised a product custom metafield and am now trying to call it into a label in Shopify Order Printer using the below liquid but am getting no values returned
{{ product.metafields.custom.packed_in }}
There are values against the product.
Below is the setup for the metafield
Any suggestions?
This could be happen because of the several resons some are the below.
{{ product.metafields.custom["packed_in"] }}
{{ product.metafields["custom"]["packed_in"] }}
By verify these steps you will be able to resolve the issue that you facing.
If you need further help then let me know.
Thanks
Hi , thanks for taking the time to respond. The metafield name was cut and paste from the metafield setup screen to guarantee it's been input correctly, so that's definitely correct. I've tried the [] approach but that's not worked either.
I've just noted that I cannot seem to pull any product values at all.
Hi, I am experiencing the same issue. I am trying to extract product custom meta fields using a python script via the API. I can extract the product ID but not the meta fields, even though the meta fields exist and even pinned on the product page. These meta fields that I couldn't access are of the rich text type, but I can access some meta fields that are multi line text type. I have posted this issue on the community page, didn't get a reply yet.
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025