mirror of
https://github.com/vercel/commerce.git
synced 2025-07-23 04:36:49 +00:00
feat: core charge shouldn't be treated as a separate product
Signed-off-by: Chloe <pinkcloudvnn@gmail.com>
This commit is contained in:
@@ -35,3 +35,21 @@ export const getProductRecommendationsQuery = /* GraphQL */ `
|
||||
}
|
||||
${productFragment}
|
||||
`;
|
||||
|
||||
export const getProductVariantQuery = /* GraphQL */ `
|
||||
query getProductVariant($id: ID!) {
|
||||
node(id: $id) {
|
||||
... on ProductVariant {
|
||||
id
|
||||
title
|
||||
selectedOptions {
|
||||
name
|
||||
value
|
||||
}
|
||||
coreVariantId: metafield(namespace: "custom", key: "coreVariant") {
|
||||
value
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
Reference in New Issue
Block a user