Blog

Your Invoices Now Speak Your Store's Language: Metafields Are Here

Your Invoices Now Speak Your Store's Language: Metafields Are Here

Every Shopify store collects unique data that doesn't always fit into standard fields. Perhaps it’s a PO number for a wholesale buyer, specific material compositions for customs forms, or a customer’s tax ID that must appear on every invoice.

Until now, that data lived in Shopify but stayed off your printed documents. You either typed it in manually, relied on "Note" fields, or simply left it off.

That changes today. Order Printer Pro now pulls metafields directly into your templates across five resource types, supporting the field types merchants use most.

What You Can Pull Into Your Documents

Metafields are now supported for five Shopify resources. Each one opens up new ways to professionalize your workflow.

1. Orders and Draft Orders

These are details that apply to the entire transaction.

  • Use cases: PO numbers, project references, delivery instructions, or gift messages.
  • Liquid Code: {{ order.metafields.custom.po_number }}

2. Products

Information tied to the item itself, regardless of the version sold.

  • Use cases: Care instructions, country of origin, warranty terms, or certifications.
  • Liquid Code (inside line item loop): {{ line_item.product.metafields.custom.care_instructions }}

3. Variants

Specific details that change by color, size, or style.

  • Use cases: Material composition (e.g., "100% Silk" vs "100% Cotton"), weight per size, or variant-specific SKUs.
  • Liquid Code: {{ line_item.variant.metafields.custom.supplier_sku }}

4. Customers

Data specific to the person buying.

  • Use cases: VAT numbers, tax IDs, loyalty tiers, or assigned account managers.
  • Liquid Code: {{ customer.metafields.custom.vat_number }}

Supported Field Types

We support the metafield types that cover the vast majority of real-world business needs.

Category Supported Types
Text Single line, multi-line, rich text, choice list, email
Numbers Integer, decimal, ID, money, rating, weight, volume, dimensions
Other True or false (boolean)
Note: All supported types work as both single values and lists. Currently, we do not support media, files, images, videos, references, URLs, dates, JSON, or color fields.

Real Use Cases to Try Today

The B2B Invoice: Your wholesale customer provides a PO number at checkout. Your invoice can now automatically display both that PO number and their saved VAT ID without any manual typing.

The Detailed Packing Slip: Instead of a generic "see care label" note, pull actual washing instructions from each product's metafield directly onto the packing slip for every item in the box.

The Premium Receipt: Track loyalty tiers in customer metafields. Your templates can now display "Gold Member" or "VIP" next to the customer name, adding a personalized touch.

Working With Complex Fields

For fields like money, weight, or ratings, you need to call both the value and the unit.

  • Money: {{ order.metafields.custom.deposit.value }} {{ order.metafields.custom.deposit.unit }}
  • Weight: {{ line_item.product.metafields.custom.weight.value }} {{ line_item.product.metafields.custom.weight.unit }}
  • Ratings: {{ line_item.product.metafields.custom.rating.value }} of {{ line_item.product.metafields.custom.rating.scale_max }}

Important: The "Top 10" Rule

To ensure your documents generate instantly, Order Printer Pro pulls the first 10 metafields per resource type.

If a field isn't showing, go to Shopify Admin > Settings > Custom Data, and drag your preferred metafield into the top 10 positions.

Quick Reference Table

Resource Liquid Path
Order / Draft Order order.metafields.namespace.key
Product line_item.product.metafields.namespace.key
Variant line_item.variant.metafields.namespace.key
Customer customer.metafields.namespace.key

Pro Tip: You can find your "namespace" and "key" in Shopify Admin under Settings > Custom Data.


Get Started

Metafields are already active in your account. If you need a hand with the code or have questions about a specific setup, our team is here for you. Reach out at forsberg@shopcircle.co or contact our 24/7 Support team.

Happy printing!

Reading next

Example of automated multilingual Shopify packing slips created with Order Printer Pro.