Skip to content

Commit 03d4492

Browse files
committed
Add stock quantity to GQL query
1 parent ccb9f46 commit 03d4492

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

utils/const/GQL_QUERIES.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,15 @@ export const GET_SINGLE_PRODUCT = gql`
3333
name
3434
}
3535
}
36+
variations {
37+
nodes {
38+
id
39+
name
40+
stockStatus
41+
price
42+
stockQuantity
43+
}
44+
}
3645
}
3746
... on ExternalProduct {
3847
price

0 commit comments

Comments
 (0)