Add a custom field in admin order

Solved
EmiliaSC
Tourist
3 1 0

Hello world!

I am trying to add a custom field in the admin order page which will hold an external url.

Here's a screenshot where a shop has this kind of field installed through an application (Additional details -> xconnector-invoice-url).

WhatsApp Image 2021-10-18 at 11.18.45.jpeg

 

 

 

 

 

 

 

 

 

 

 

 

I need to do the same for a shop using my custom app.

While researching i found that a metafield would be what i need, so i created the metafield for an order, i can see the meta if i access /admin/orders/{order_id}/metafields.xml, however there is no actual field showing in the order page on admin.

What i need is to see the field in the order admin page like in the screenshot, but i can't find a way to modify the admin theme.

Is that possible? Maybe is not a metafield what i need?

Accepted Solution (1)

Accepted Solutions
EmiliaSC
Tourist
3 1 0

This is an accepted solution.

Nevermind, i figured it out.

Thank you, community...

View solution in original post

Replies 3 (3)
EmiliaSC
Tourist
3 1 0

Can someone provide assistance?

Thanks!

EmiliaSC
Tourist
3 1 0

This is an accepted solution.

Nevermind, i figured it out.

Thank you, community...

View solution in original post

Msimons
New Member
2 0 0

Were you able to get the metafield to show in the admin orders, and if so how?

I'm looking to record which sales channel each order came into our shopify store from, then pass this along to NetSuite (retail, wholesale, etc.)

Thanks!