> For the complete documentation index, see [llms.txt](https://galmis.gitbook.io/serializer-product-tracking/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://galmis.gitbook.io/serializer-product-tracking/getting-started/sharing-and-integration/share-item-information-with-customers/order-printer.md).

# Order printer

{% hint style="info" %}
The official [Shopify Order Printer](https://apps.shopify.com/shopify-order-printer) app now supports order metafields via `order.metafields` Liquid variable. For example,

```liquid
{% assign tracked_line_items = order.metafields.serializer.properties.items
              | where: 'lineItemId', line_item.id
            %}
  
            {% if tracked_line_items.size > 0 %}
              {% assign sns = tracked_line_items | where: 'serialNumber' | map: 'serialNumber' %}
              {% if sns.size > 0 %}
                <small> Serial number(s): {{ sns | join: ', ' }} </small>
              {% endif %}
            {% endif %}
```

The Shopify Order Printer may be a better alternative than Serializer's order printer.&#x20;

Please check out [Liquid variables and filters reference for Shopify Order Printer](https://help.shopify.com/en/manual/fulfillment/managing-orders/printing-orders/shopify-order-printer/liquid-variables-and-filters-reference) for more details.&#x20;
{% endhint %}

## Create printer templates

1. Navigate to the "Printer templates" page in the app.&#x20;

<figure><img src="/files/oY1QRwgt8Pl7IKbL1D7w" alt=""><figcaption></figcaption></figure>

2. Click "Create template" or "Duplicate" an existing example template.
3. Code your template in Liquid templating language. Learn more about the available [Liquid variables and filters](/serializer-product-tracking/getting-started/sharing-and-integration/development-api-reference/order-printers-liquid-variables-and-filters.md).

{% hint style="info" %}
Liquid and HTML knowledge is required. If you need help, please get in touch with me.
{% endhint %}

## Print orders

1. From Shopify admin order page select "More Actions" > "Print with Serializer"&#x20;

   <figure><img src="/files/i6dj3F6EXp7gKdpqA2L6" alt=""><figcaption></figcaption></figure>
2. Select the printer template and "Print" (right hand side). <br>

   <figure><img src="/files/nMMfYgKvA3JMvXfiHO5c" alt=""><figcaption></figcaption></figure>
3. A printer wizard should open where you can select the printer or save the content as PDF.
