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.
{% 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
- In your Shopify admin, go to Settings > Shipping and delivery.
- Scroll to the Documents section and click your packing slip template.
- Make the change in the code editor (or paste a template from the builder).
- Click Preview, pick a real order to check it, then click Save.
More packing slip how-tos
- How to add product images to your Shopify packing slip
- How to print personalization and custom options on a Shopify packing slip
- How to print the gift message or order note on a Shopify packing slip
- How to add your logo to a Shopify packing slip
- How to add your return policy to a Shopify packing slip
- Adding product descriptions to a Shopify packing slip (and what to do instead)
- How to add a QR code to a Shopify packing slip
- How to customize your Shopify packing slip template
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.