fix(bigcommerce): add limit on product variants

add explicit limit on product variants field to load more than default
This commit is contained in:
Andrea Barani 2022-01-21 12:19:35 +01:00
parent 4508b13a3c
commit 9b3904c1f3
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ export const productInfoFragment = /* GraphQL */ `
} }
} }
} }
variants { variants(first: 250) {
edges { edges {
node { node {
entityId entityId

View File

@ -21,7 +21,7 @@ export const getProductQuery = /* GraphQL */ `
__typename __typename
... on Product { ... on Product {
...productInfo ...productInfo
variants { variants(first: 250) {
edges { edges {
node { node {
entityId entityId