< All Articles

Print Shopify fulfillment details

Logistics warehouse

This article contains a step-by-step guide to creating printable PDF documents displaying details from a Shopify fulfillment.

Understanding the difference between a Order and Fulfillment in Shopify

An order represents a customer’s purchase, while a fulfillment is the shipment of all or part of that order, complete with essential details like tracking information and delivered items.

A fulfillment is always attached to a parent order. An order can have more than one fulfillment, in which case each fulfillment is responsible for a portion of the order.

Let’s make a template that produces documents showing a fulfillment’s tracking info, line items, and customer name and address.

Create a template

  1. Launch Axios Order Printer and navigate to the “Templates” menu.
  2. Click “New template”. You’ll be prompted for a few setup options:
  • Choose a starter template: Select “Start from scratch”.
  • Will you use this template with orders, fulfillments, or line items? Select “Fulfillments”.
  • Do you want the template to be paginated? Select “Yes”.
  • What’s the size of your page? For this article, you can just use the defaults.

You will then be looking at the template editor. At first, it will be blank so you’ll need to add some content.

Enable the line items

In the preview section, just below the Body area, toggle the “Enable line items table” switch. Then click the “Settings” button that appears.

We’ll configure the line items table to have two columns, one for item name and one for quantity.

At the bottom of the Settings dialog, click “Add column”. A menu of available columns will pop up. Select “Quantity” from the menu.

We don’t need to add a “name” column as it’s there by default.

Add the fulfillment name

The fulfillment name is related to the order number, but unique to the fulfillment.

We’ll setup the template to show the fulfillment name in the page header.

On the left, locate the menu of elements. Drag a Liquid Template element and drop it onto the Header area of the template.

Click the Settings button for the Liquid Template element you’ve just added.

Enter the following template:

{{ fulfillment.name }}

Add tracking info as a QR code

We’ll add a tracking info URL as a QR code to the body of the template, right above the line items table.

But first, to allow room for two elements side by side, click the ”+” button above the Body area of the template to increase the number of columns to two.

From the menu of elements, drag and drop a Tracking Info element onto the right column of the Body area.

Click the element’s Settings button. In the dialog that appears, locate the Format setting and select QR Code.

Add destination address

Let’s also include the fulfillment’s destination address.

From the menu of elements on the left, drag and drop a Destination Address element onto the left column of the Body area.

Now that we’re done with the template, all that’s left is to give it a name and then save it:

  1. Enter a name for the template
  2. Click “Save”

Generate a document with the template

Now let’s create a PDF document that shows attributes of a Shopify fulfillment.

From the dashboard, click “New document”.

  1. Select one or more orders or fulfillments.
  2. Locate the Template option just above the “Create documents” button.
  3. Select the template you created in the previous section.
  4. Click “Create documents”.

Further steps

It’s possible to add additional elements to the template. You may want to include other order or fulfillment information as well.

Get started

Unlock the freedom to print out Shopify orders your way.

Get started