How to display custom metafields in Order Printer app?

Topic summary

The discussion centers on accessing and displaying custom metafields in Shopify’s Order Printer app, particularly order-level metafields.

Product vs. Order Metafields:

  • Product metafields can be displayed using syntax like {{ line_item.product.metafields.FIELDNAME.value }}
  • Order metafields proved problematic, with attempts using {{ order.metafields.custom.FIELDNAME }} initially failing

Key Challenges:

  • Multiple users confirmed Order Printer (and Order Printer Pro) historically did not support order metafields
  • Customer support from FORSBERG+two explicitly stated metafields for Orders, Products, or Customers were unsupported
  • Users encountered Liquid errors or empty returns when attempting to access order metafields

Solutions & Workarounds:

  • Packing slip templates: Order metafields ARE accessible in Shopify’s native packing slip template (Settings > Shipping and Delivery > Packing Slip Template)
  • Third-party app: The “Serializer - Product Tracking” app was developed to provide customizable order printing with metafield support
  • Recent resolution: The correct syntax is {{ order.metafields.custom.FIELDNAME }} or {{ order.metafields.namespace.key }} according to Shopify’s official documentation

The thread evolved from an unsolved problem to identifying viable alternatives and eventually confirming the proper implementation method.

Summarized with AI on October 31. AI used: claude-sonnet-4-5-20250929.

This would be really appreciated. We store important info in the Order metafields, and it would be extremely useful to be able to print this data via Order Printer.

2 Likes