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 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.
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.
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.