Order Metafields or Order ID in View Status Page using Script Tags

Highlighted
New Member
2 0 0

I want to inject data into the View Status Page from Orders using Script Tags. I know I can use Shopify.shop to get the shop name and Shopify.Checkout.OrderStatus.addContentBox() to add the content box... my issue is that there is no way to get the actual order ID to pass into the Order API to grab the data I need to display. I know I can use JS or jQuery to grab the os-order-number class to get the Order Number.. but there is no way to query the Shopify Order API with the Order Number, it needs to be the ID.

Any help would be appreciated. 

 

 

Vndor LLC - Designing tools that make your life a little easier.
0 Likes
Highlighted
New Member
2 0 0

Sorry, I clicked on the wrong category. This needs to be in the Shopify API category.

Vndor LLC - Designing tools that make your life a little easier.
0 Likes