Order info is not available for Thank you page extensions

Order info is not available for Thank you page extensions

elastic-s
Shopify Partner
2 0 3

Hello,

Does anybody know how to obtain order information in Thank you page UI extension (React)?

useOrder() React hook was previously returning an empty result. Now it seems like it is entirely removed.

This hook works properly only for Order Status extension. But how can I get order context being on Thank you page?

The only workaround that I see is pulling the customer email and then find the order via Admin API.

Thanks in advance.

Replies 0 (0)