New Shopify Certification now available: Liquid Storefronts for Theme Developers

Shopify App Admin Extension: add custom filters to orders page

JorensM
Shopify Partner
6 0 3

Hello, I would like to know if and how it is possible to add custom filters to the orders page with the admin extensions. The admin extensions are poorly documented and I couldn't find any information on how to add/modify elements in the admin dashboard. Thanks in advance!

Reply 1 (1)
Liam
Shopify Staff
Shopify Staff
1917 204 579

Hi JorensM,

 

It should be possible to expand the native filters on the orders page with Shopify admin extensions. You could use the `ResourcePicker` component from the shopify/admin-ui-extensions-react package to create custom filters and set up specific conditions, and then make a request to the Shopify API to retrieve the orders that match the criteria you've defined. 

 

Hope this helps 🙂 

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog