Goal: display per-item prices on Shopify packing slips using Liquid templating within the packing slip template.
Early approach: edit the template and, inside the for loop over line_items_in_shipment, match each displayed line item to order.line_items (often by SKU) and output item.final_price | money. Several users confirmed it worked, with formatting tweaks (e.g., placing price under SKU).
Order totals: add order.subtotal_price, order.tax_price, order.shipping_price, and order.total_price after the loop to show invoice-like totals.
Breakages/changes: many later reports show incorrect pricing (all items same, last item’s price, variant issues). Community notes suggest Shopify changed available line_item fields in packing slips; unique identifiers (sku, id, variant_id) may be unavailable when iterating line_items_in_shipment. The official variable list for packing slips is limited.
Workarounds: match by title + variant_title to fetch item.final_price from order.line_items (works unless duplicate names/variants). Another shared method maps original_price from order.line_items, and several customized templates were posted.
Open issues: line-item subtotals (qty × price), per-line discounts, sale/discounted pricing accuracy, alignment/styling, and adding fulfillment location/contact number. Some recommend invoice apps (e.g., drag‑and‑drop editors). Status: ongoing; code snippets and attachments are central; no official Shopify resolution noted.
Summarized with AI on December 12.
AI used: gpt-5.
That’s all I want to do, put the price of the item on the packing slip. Shopify says it can’t be done, which means it can’t be done easily.
I can imagine a line_item.properties value set equal to the price, but I don’t know how to set the value. I don’t want a HTML input, it is something that should be set by the code. In product-template.liquid, I suppose. But I can’t find a way to create a property to carry the value of the price out to the packing slip.
Is there a way to do that, with a modicum of coding?
@edkPersonal print has got a drag and drop editor that lets you build whatever invoice you want, or any other thing to be printed with your invoice.
It also lets you add some “smart” text to personalize your invoices for each customer. Plus they can then be downloaded directly from the Shopify orders’ list page. We’re using it to send some automated personalized thank you notes to our customers for about a year, and zero complaint so far.
Brian – how would I do the same thing but instead of price, put the product SKU in that position? I’ve tried to play around with it, but can’t figure it out.
I’ve copied the code and paste it exactly the way it was, but the prices are not right, all items have same price, and it does change according with the quantity. It pics the price of the last product. I am using debut theme, do you have any idea what could it be? It does not show the total either.
I’m having the same problem. The Packing Slip prices WERE working before, but they just recently started showing all the same prices on my packing slips. Any ideas on what might have changed and if there is any way to fix it?
I noticed in the image you uploaded that you have the order subtotal listed at the bottom of the item list. How did you do that? I’ve been looking everywhere for a way to add the subtotal to my packing slips and haven’t found it anywhere!
Hi i have copied and pasted this into my page but i can only get it to show up at the very bottom of the item and the total cost doesn’t show only the item cost? how did you get yours to show the total and have prices more in the middle not under?
If things don’t format right, I’m afraid I can be no more help. The original solution came from BrianAtWork, as you see from the second entry in the thread - ask him nicely and he will probably help you.