Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Is this possible? Does anyone have the liquid code to customize a shopify packing slip with the metafield? We set up a metafield for product location my_fields.location which is where our staff puts the product location in, we need to then display this on the packing slip when an order is received.
It's been painful finding a solution for a location on our products, when an order comes in we have to hunt for it!
I second this. It doesn't appear to be possible right now which is a major pain.
I am looking to do this too, I've tried various Liquid code but it seems that product metafield info just isn't accessible by the packing slip. Order metafields can show here but that's no use as I'm trying to do the same thing as you; have a 'warehouse location' metafield which needs to be on a product-by-product basis.
I am interested in this functionality as well. We would like to have a bin location for our products within our warehouse and have this bin location print out on the packing slip next to the SKU (it is mind boggling to me that multi warehouse and locations are supported but not product locations within a single warehouse).
As a workaround, I started going down the path of adding a metafield at the Product level, which allows us to at least specify the location of the product within the warehouse. However, it appears the product object is not accessible from the line_item object within the line_items_in_shipment variable:
That is exactly what I want to do; add BIN information to the packing slip. My temporary work around is to use VENDOR as I am able to add {{ line_item.vendor }}. I don't use VENDOR for my products, so it works for me. Still wish we can add the metafield as I also created a "Location" for that reason.
Has anyone found a solution to this problem seems crazy that something so needed is virtually impossible.
Hi @devicesales,
Since product or variant metafields aren't accessible in the Shopify packing slips, we recommend our merchants to use Order metafields. The Freshly app, which is mostly used for lot/batch tracking, can also be used for adding bin locations for each product in the order.
Here's a quick demo I made to show how to add the bin locations for each product on the Shopify packing slip: 🎥 https://www.loom.com/share/a949c18c1b544f579cd8cc2a3de1c442
To summarize:
And you should be all set! You can also use Freshly packing slips to do the same where you wouldn't need to rely on Shopify metafields being up-to-date with the recently updated bin locations. Let me know if you have any other questions or reach out to our team at hello@getfreshly.io. 🙂
I have removed my angry comment. I still don't get why this has to be so hard and require an app. Bin location should be standard.
Hi Devicesales,
had the same problem and just see this post in the search, quick easy solution and no need for and app.
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025