Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
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
This has been solved by itself. Im not sure why yet, seems like some shopify internal cache. It's not on our side, I made sure I was testing inside shopify graphql app too.