Searching product within a collection

Highlighted
Shopify Partner
4 0 0

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.

0 Likes
Shopify Partner
1348 156 239

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 @ visely.io
- 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 visely.io or our blog
0 Likes