What is the correct metafield path format?
Shopify Order Printer commonly uses object.metafields.namespace.key.value, such as order.metafields.shipping.express_delivery_status.value.
Where do I find the namespace and key?
Open the metafield definition in Shopify admin and copy the namespace and key values, not just the display name shown to staff.
How do I know which owner object to choose?
Use order for order-level notes, customer for customer or B2B data, product for fields shared by all variants, and variant when the value changes by variant.
Where should product metafields go?
Product and variant metafields usually belong inside the line item loop, near product title, SKU, quantity, or barcode.
What is the variant metafield path?
Use line_item.variant.metafields.namespace.key.value inside the line item loop, replacing namespace and key with the values from Shopify admin.
Why does the fallback text print?
The path may be wrong, or the test order may not have that metafield populated on the selected product, variant, customer, or order.
Why is my metafield blank even when Shopify admin shows a value?
Usually the code is reading the wrong owner object, the test order does not contain that product or customer, the namespace/key is the display label instead of the machine key, or a product/variant path was pasted outside the line item loop.
Can this handle metaobjects?
The first version focuses on direct metafield values. Complex references and metaobjects should be handled as a paid code fix.