Item Variable ( UPC CODE ) access needed on Packing Slips

:+1: Please vote this up if you desire this access too. :+1:

Explanation:

The available variables to use on the packing slip do not include the needed field: line_item.Barcode. I am hoping to report this to see if it cna be turned on or suggest it as an update. Having both an SKU and a Barcode is the best way to ensure an item is correct upon fulfillment. Sometimes SKU’s and/or UPC’s aren’t attached to products.
This is especially true with small items. The access to both fields enusr eboth print on packing slips and ensures nothing is ever wrong when shipping an order..

I need/want to have my packing slip items appear like this:

Product Name: Magical Item to solve every problem v2.0
Product Description: Greatest thing you will ever buy !
SKU: I8ONE2 UPC: 123409876123

Technical Info & Request:

line_item.barcode is not in the official variable list for packing slips.
Hoping this can be added to the available variables. - Seems like a simple fix since that field already exists inside of the system and resides at the same level as the SKU.

History

I believe others have asked for this with no resolution. The suggestion is always to add **line_item.barcode**to the code, and that is simple, but because this field is not in the official variable list for packing slips, it will not work. This is why people are not finding a solution.

Hoping someone on the Tech side can take a look at this.

Thanks in advance for considering this and getting it fixed…

Hi,

I understand the use case, and I agree that having both the SKU and barcode (UPC/EAN/GTIN) available on packing slips would help reduce fulfillment errors, especially for stores with similar products, small items, or products sourced from multiple suppliers.

Unfortunately, as things stand today, Shopify’s packing slip template only exposes a limited set of Liquid variables. While product variants do store barcode data, line_item.barcode is not currently one of the officially supported packing slip variables. Because of that, simply adding:


{{ line_item.barcode }}

to the packing slip template will not output any value.

From a technical perspective, this isn’t something merchants can solve through theme customization or Liquid edits alone. The field would need to be exposed by Shopify within the packing slip template object model before it can be accessed.

In the meantime, there are a few possible workarounds:

  • Use a third-party order management, picking, or packing app that supports custom document templates and barcode fields.
  • Store barcode information in a location that is already accessible to packing slip templates (where operationally feasible).
  • Submit this as a feature request through Shopify Support so it can be passed to the product team.

Personally, I think this is a reasonable enhancement request. Since SKU and barcode are both fulfillment-related identifiers stored at the variant level, exposing the barcode field alongside SKU in packing slips would provide additional verification during picking and shipping without requiring third-party apps.

At the moment, however, I am not aware of a native Shopify workaround that would make line_item.barcode available on packing slips until Shopify adds support for it.

If you need help exploring alternative solutions (custom fulfillment workflows, Shopify Flow, custom apps, Order Printer templates, or third-party packing solutions), feel free to reach out. I’d be happy to provide technical assistance now or in the future.

Unfortunately, line_item.barcode is not currently supported in shopify packing slip templates. Since the barcode already exists at the variant level, adding support for this variable would be a simple but valuable improvement that helps reduce fulfillment errors. I recommend submitting it as a feature request to the shopify internal product team.

Yes I received a Detailed Response explaining everything to the issue, but not a Solution. Those to terms can be the same but in this case they are not.