How to add the Product Metafield "Location" To order page on Admin under the SKU:

How to add the Product Metafield "Location" To order page on Admin under the SKU:

Toomeys
Visitor
3 0 0

Screenshot (2).png

I want the Metafield "Location" to show up where I wrote in location on the picture. I have all the locations of the products in that metafield and want them to show up on order pages in admin. Can anyone help with a code on this. I don't know what code to put in or where. Thank you. 

My store URL: toomeysmardigras.com

Replies 5 (5)

PaulMartin
Shopify Partner
561 57 133

Hi Toomeys,

You'll need to use line_item attributes in order for your metafields to show up in the order admin. Check this article on how to add it: Re: Product pages - Get customization information for products - Shopify Community

If you have any questions, feel free to ask! 🙂👍

contact@paulmartinlopez.com
Feel free to email me! 😄
I'm open to conversations or work ʕ •ᴥ•ʔ
Toomeys
Visitor
3 0 0

I am not familiar with code. This article is very advanced and confusing. Is there any other way you can explain how to add the metafield to admin orders page?

PaulMartin
Shopify Partner
561 57 133

Hi @Toomeys 

Sorry for the long reply. I've taken a few days of break since then.

Anyway, what theme are you using right now? Because I'll be creating instructions for you to follow.

contact@paulmartinlopez.com
Feel free to email me! 😄
I'm open to conversations or work ʕ •ᴥ•ʔ
Toomeys
Visitor
3 0 0

That's okay. Thank you.

Our theme is Warehouse.

PaulMartin
Shopify Partner
561 57 133

Hmmm. It seems like I can't create any instructions for you to follow because Warehouse is a paid theme which I don't have access to. If I were to give you instructions without knowing the code inside Warehouse, it's very likely that it will break your theme. So, we'll need to do something else.
 

Are you open to the idea of paying someone to do this? because I'd be happy to do this for a fee. I wish I could do it for free, but being very honest and open with you, I don't have the privilege to be able to spend time for unpaid work. 

contact@paulmartinlopez.com
Feel free to email me! 😄
I'm open to conversations or work ʕ •ᴥ•ʔ