Show serials to buyers
Add the Serial Trail order metafields to Shopify packing slips and shipping emails.
Serial Trail writes the complete current assignment to two Shopify order metafields after a successful real fulfillment: a machine-readable JSON value and a Liquid-friendly text value.
Packing slip snippet
In Shopify admin, open Settings → Shipping and delivery → Packing slips → Edit and place this where the serials should appear:
{% assign serials = order.metafields.serial_trail.units_text.value %}
{% if serials != blank %}
<h3>Serial numbers</h3>
<div style="white-space: pre-line">{{ serials }}</div>
{% endif %}
Shipping notification snippet
Open Settings → Notifications → Customer notifications → Shipping confirmation and add:
{% assign serials = order.metafields.serial_trail.units_text.value %}
{% if serials != blank %}
<h3>Serial numbers for this shipment</h3>
<p style="white-space: pre-line">{{ serials }}</p>
{% endif %}
Verify safely
Use a test order with a real non-demo serial, fulfill it, and confirm the order metafield before sending the notification. Home marks the buyer-display setup step complete after the first successful non-empty platform write.
Was this article helpful?
Let us know — your feedback helps us improve our documentation.