【发布时间】:2022-01-12 01:18:17
【问题描述】:
根据本文档: https://shopify.dev/custom-storefronts/products/filter-products#query-products-by-type
我们应该能够使用collectionByHandle 过滤集合中的产品。
我在 Shopify GraphiQL 应用程序浏览器工具中创建了一个非常基本的测试查询。当我运行记录的查询时,它返回所有产品,根本不过滤。见下文:
这看起来像是 API 的错误,对吧?还是我缺少一些基本的东西?
【问题讨论】:
标签: graphql shopify shopify-storefront-api