Filter products on collection with Storefront API

Highlighted
Shopify Partner
2 0 0

According to documentation I can only get products with a specific query from the QueryRoot, but not filter products on a collection from the collection field. And vive-versa I am not able to filter/search for products via collection id.

 

I assume I have to manually filter the products for the collection on the Storefront site?

 

Is there any specific roadmap for Storefront API development?

In my opinion it's kind of a basic feature and actually would be another benefit to use Storefront over themes, especially when it comes to search (which is more versatile and controlled then with themes) and filtering (which is also too limited on the theme side).

 

0 Likes
Highlighted
New Member
7 0 0

I think you're experiencing similar pain to me: https://community.shopify.com/c/Shopify-APIs-SDKs/Getting-products-in-a-collection-by-tag/m-p/658446...

 

I hope I've misunderstood something somewhere, because as you said this is basic stuff imo.

0 Likes