fix: simplify logic core-charge

Signed-off-by: Chloe <pinkcloudvnn@gmail.com>
This commit is contained in:
Chloe
2024-06-12 10:20:28 +07:00
parent 0471e07633
commit 3cdc94d0ce
5 changed files with 22 additions and 89 deletions

View File

@@ -35,21 +35,3 @@ 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
}
}
}
}
`;