Packing slip guide

How to show the SKU on a Shopify packing slip

Build a SKU-first packing slip

The code

Put this under the product title inside the line item loop.

SKU line
{% for line_item in line_items_in_shipment %}
  <p>
    <strong>{{ line_item.title }}</strong>
    {% if line_item.variant_title != blank %}<br>{{ line_item.variant_title }}{% endif %}
    {% if line_item.sku != blank %}<br>SKU: {{ line_item.sku }}{% endif %}
  </p>
{% endfor %}

What about barcodes?

Variant barcodes aren’t among the packing slip variables, and barcode images from outside services are blocked, so a scannable barcode per item isn’t possible in Shopify’s packing slip template. Printing the SKU as large, clear text is the reliable option.

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.