Shopify App Admin Extension: add custom filters to orders page

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!

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 :slightly_smiling_face:

Hi,

I’ve been working on a similar action to allow a client to filter their orders on multiple tags at once. I am at the point where they can add the tags to filter in a modal, and the data is being fetched correctly once they click ‘filter’ in the modal. But now I can’t seem to figure out how to bring this fetched data (which I just logged in console now) into the main orders tab? How can I show the filtered result in the orders page?

Any help would be really appreciated!