> 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.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://galmis.gitbook.io/serializer-product-tracking/getting-started/sharing-and-integration/share-item-information-with-customers/order-printer.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
