Skip to main content

Showing only fulfilled products

Explains how to show only the fulfilled items in the document

Jose Mangonez avatar
Written by Jose Mangonez
Updated this week

You can easily make the Packing Slip & Returns forms show only the fulfilled items in the document. This is a great way to print documents for orders with multiple shipments.​

This guide is relevant if you are using the template designs provided in the Order Printer Pro app.

Steps

1- Log in 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 Templates

The following guide is relevant if you have purchased a custom template from the Order Printer Templates app. 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 want 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 line {% assign line_items = order.line_items %} or {% assign line_items = latest_fulfillment.line_items | sort: "sku" %}, and replace it with:

{% assign line_items = latest_fulfillment.line_items %}

4- Find the variable {{ order.name }} and replace it with {{ latest_fulfillment.name }}

5- Find the variable {{ order.created_at }} and replace it with {{ latest_fulfillment.created_at }}

6- 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 same date as 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?