Re: Displaying Product's Metafield on Packing Slip - Product Location Bin

Displaying Product's Metafield on Packing Slip - Product Location Bin

devicesales
Visitor
1 0 8

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!

Replies 9 (9)

andrewrmn
Shopify Partner
1 0 2

I second this. It doesn't appear to be possible right now which is a major pain.

RuairiMcNichola
Shopify Partner
2 0 1

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.

bzys
Visitor
2 0 0

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:

 

https://help.shopify.com/en/manual/shipping/setting-up-and-managing-your-shipping/packing-slips-vari...

playcode3
Tourist
9 0 2

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.

You can not solve your problems with the same level of thinking that created them.

binneywood
Tourist
3 0 3

Has anyone found a solution to this problem seems crazy that something so needed is virtually impossible.  

basilkhan
Shopify Partner
49 0 5

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

 

basilkhan_0-1655225270321.png

To summarize: 

  1. Add bin locations in product batches with a high quantity and no expiry date in Freshly
  2. Enable order metafields in Freshly preferences.
  3. Modify the template for the Shopify packing slip. I have included the template here: https://gist.github.com/basilkhan05/a94ee86cf6fe3ae7887da0348c79dd1d

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🙂

Co-founder and Product Developer at Freshly Commerce ️ | Building Simple Bundles, Simple Discounts, and Freshly Inventory

pahrumpmike
Tourist
4 0 3

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. 

dalemitchley
Shopify Partner
11 0 1

Hi Devicesales, 

 

had the same problem and just see this post in the search, quick easy solution and no need for and app. 

https://community.shopify.com/c/technical-q-a/adding-custom-meta-fields-to-packing-slip/m-p/1332362/...