Hi,
We started having issues couple days ago with a graphql query for retrieving products from collection, with a filter for tag. Worked properly before.
It doesnt return all products, but just one of 10. I checked 5 times that products are in correct sales channel, and tagged correctly. Products are identical, except title, handle, price, images, description.
On top of this we have “Search & Discovery” app installed, so we can filter properly. When it’s turned off, it returns all shop products.
Could this be a bug or something else is needed (like “search and discovery” app) ? Any tips ?
query ($handle: String, $tag: String) {
collection(handle: $handle) {
title
handle
products(first: 100, filters: {tag: $tag}) {
edges {
node {
handle
title
}
}
pageInfo {
hasNextPage
endCursor
hasPreviousPage
startCursor
}
}
}
}
Thanks,
Stefan