I am trying to get a list of products which usually you can get by visiting URLs like :
.../collections/collection_handle/tag1+tag2
so collectionByHandle returns
collectionByHandle(handle: String!): Collection
and a Collection contains products
products( first: Int after: String last: Int before: String reverse: Boolean = false sortKey: ProductCollectionSortKeys = COLLECTION_DEFAULT ): ProductConnection!
There I can't query and filter by tags.
Can anyone please help?
Another way is to query products and filter by tag
products( first: Int after: String last: Int before: String reverse: Boolean = false sortKey: ProductSortKeys = ID query: String): ProductConnection!
returns a list of products with
products(query:"tag:tag1"){ }
But again how to filter by collection now?
Interested in this too
User | Count |
---|---|
13 | |
12 | |
7 | |
4 | |
4 |