Discuss all the new features introduced with the new product model in GraphQL.
Why am I getting always only the last variant of a product, even if I specify to get more than 1 (e.g. first: 3)?
I've tried a couple of things, the first was directly fetching variants by searching variants with the same product_id, and I've also tried fetching all the variants in a product query (e.g. query{products(first: 10){edges{ node{ variants(first:10){edges{node{}}}}}}} )
Hey @dripdevelopment,
I think you should provide more details about your issue.
I tried this query and everything works fine:
query {
products(first: 10) {
edges {
node {
title
variants(first: 10) {
edges {
node {
id
title
}
}
}
}
}
}
}