In the Shopify resource picker, filtering products by collection does not work. It always shows “No products found”, even when products exist in the selected collection.
Hey @Wakil18 - just confirming, is this happening with the new CDN App Bridge? If so, is this just with the standard product type resource picker without any modifications? If you’re open to sharing a minimal repro bit of code I can definitely take a look.
No, I’m using the app-bridge-react and this is what I’m doing:
// Fetching the selected products id and their variants id
const selectedProducts = currentFormState?.selectedProducts?.map((product) => ({
id: product.productId,
variants: product.variants?.map((variant) => ({
id: variant.variantId,
})),
}));
// Building the resource picker options based on the query parameters
const resourcePickerOptions = {
type: "product",
multiple: 20,
action: "select",
filter: {
archived: false,
hidden: false,
draft: false,
query: "-tag:'push-bundle' AND -tag:'cross-sell-bundle' AND -tag:'mix-n-match-bundle-mp'",
},
...(selectedProducts && { selectionIds: selectedProducts }),
};
// Fetching the products from the resource picker
const products = await shopify.resourcePicker(resourcePickerOptions);
console.log({products});
Hey @Wakil18 - thanks for sending over the snippet, that helps a lot.
This does look very similar to another thread we’ve seen where the product Resource Picker returns no results after a Collection filter is applied when the picker was opened with a filter.query. We logged that one internally as a possible bug on September 2, 2025, and the last public update I can see was November 14, 2025. Does that sound like the same behaviour you’re hitting here? (community.shopify.dev)
Just as a note as well , our current App Bridge direction is the CDN-loaded App Bridge flow, so if this app is still using an older app-bridge-react setup, I can’t fully guarantee identical behaviour there. (shopify.dev)
If you’re up for one quick test, could you try the same picker config without the filter.query and let me know if the Collection filter starts working again (just by setting the other filter variables)? If it does, that’d help confirm this is the same underlying issue. Our current Resource Picker docs do support filter.query, so that’d be a useful repro point for me. (shopify.dev). Hope to hear from you soon!
Thanks for following up @Alan_G.
You’re right about the issue…the collection filter works fine if I remove the filter.query.
Can you give me an insight into how can I filter some products by their tags?
Hey @Wakil18, thanks again for confirming that and for testing it.
I was able to narrow this down a bit further, and it does look like this is may be an issue on our side with the product Resource Picker when it is opened with a non empty filter.query and then a Collection filter is applied in the picker UI.
Just to clarify, filtering by tags through filter.query is supported. The part that does not seem to be behaving correctly right now is that specific combination with the Collection filter.
For now, the safest workaround is to avoid using both together. If tag filtering is the more important part, I’d keep using filter.query and avoid the Collection filter in the picker. If the Collection filter is the more important part, I’d remove filter.query and then filter the selected products in your app after selection.
I’m also going to add your repro details and snippet to the internal report we already have open for this so our developers can keep digging into it.
If you do try one of those approaches, feel free to let me know how it goes.