Packing slip guide

How to print personalization and custom options on a Shopify packing slip

Build a packing slip with personalization

The code

Put this inside the line_items_in_shipment loop, under the product title.

Line item properties
{% for property in line_item.properties %}
  {% assign property_first_char = property.first | slice: 0 %}
  {% if property.last != blank and property_first_char != '_' %}
    <p><strong>{{ property.first }}:</strong> {{ property.last }}</p>
  {% endif %}
{% endfor %}

Is my app using properties?

Open an order in your admin. If the personalization shows under the item (for example "Monogram: A.C."), it’s a line item property and this code prints it. If it only shows in the order’s Notes or Additional details box, it isn’t a property: notes print with order.note, and additional details (cart attributes) aren’t in the packing slip variables.

Bundles and add-ons have their own variable: line_item.groups, with group.title.

Where to paste it

  1. In your Shopify admin, go to Settings > Shipping and delivery.
  2. Scroll to the Documents section and click your packing slip template.
  3. Make the change in the code editor (or paste a template from the builder).
  4. Click Preview, pick a real order to check it, then click Save.

More packing slip how-tos

Based on Shopify’s packing slip variable reference. Not affiliated with, endorsed by, or sponsored by Shopify Inc. Shopify is a trademark of Shopify Inc.