I have products with tags 1,2,3 inside collection. I want to query the collection with product tag to get certain products with queried tag, but it returns every products in the collection. Example shown below.
graphql query:
collection(id: "gid://shopify/Collection/{id}") {
products(first: 5, filters: { tag: "product-tag-1"}) {
nodes {
title
}
}
}
returns everything.
I want to filter the products