Searching product within a collection

Shopify Partner
7 0 2

I am developing an app using Shopify SDK.

I want to search a product within a collection.

For example: There is a collection named "mobile". I want to search products with name "iPhone" in this mobile collection only.

Shopify Partner
1835 211 412

Unfortunately, you cannot do that. There is a workaround to use a field say product_type or vendor instead of collection and add a constraint that would limit the search on it. For example:

product_type:mobile AND title:iPhone
Sergiu Svinarciuc | CTO @
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!
- To learn more about the awesome stuff we do head over to or our blog