Showing only fulfilled products

You can easily make the Packing Slip & Returns forms show only the fulfilled items in the document. Very useful for partial shipments.

Bjorn Forsberg avatar
Written by Bjorn Forsberg
Updated over a week ago

This is a great way to print documents for orders with multiple shipments.
​
Update the default templates

The following guide is relevant if you are using the template designs that are provided within the Order Printer Pro app.

Steps:

1- Login to Order Printer Pro

2- On the "Manage templates" page, click "Edit template" on the template you would like to update.
​
​Note: This must be either the Packing slip or Returns form template, this will not work in Receipt / Invoice templates.

3- In the "Code" section, find the following Liquid variable (found at the top of the code):

{% assign SETTING_use_latest_fulfillment = false %}

4- Change it to:

{% assign SETTING_use_latest_fulfillment = true %}


5- Click Save.


Update a purchased Order Printer Template

The following guide is relevant if you have purchased a custom template from the Order Printer Templates app. You should first import your template into Order Printer Pro.

Steps:

1- Login to Order Printer Pro

2- On the "Manage templates" page, click "Edit template" on the template you would like to update. Note: This must be either the Packing slip or Returns form template, this will not work in Receipt / Invoice templates.

3- In the "Code" section, add the following Liquid variables at the very top of your template code:

{% assign order_name = latest_fulfillment.name %}
{% assign created_at = latest_fulfillment.created_at %}
{% assign line_items = latest_fulfillment.line_items %}

4- Click Save.

Note: When enabling this option in any of the two apps, you'll see two changes reflected in the template:

  1. You'll see a decimal point as part of the order number (e.g. #1234.1), indicating the number of fulfillments that have been made to the order.

  2. The order date will be set to the fulfillment date.

To avoid the decimal on the order number, find and remove the following line:

{% assign name = latest_fulfillment.name %}

Did this answer your question?