mirror of
https://github.com/vercel/commerce.git
synced 2025-07-23 04:36:49 +00:00
feat: add metafields to variant options
Signed-off-by: Chloe <pinkcloudvnn@gmail.com>
This commit is contained in:
@@ -55,6 +55,15 @@ const productFragment = /* GraphQL */ `
|
||||
coreVariantId: metafield(namespace: "custom", key: "coreVariant") {
|
||||
value
|
||||
}
|
||||
estimatedDelivery: metafield(namespace: "custom", key: "delivery") {
|
||||
value
|
||||
}
|
||||
mileage: metafield(namespace: "custom", key: "mileage") {
|
||||
value
|
||||
}
|
||||
condition: metafield(namespace: "custom", key: "condition") {
|
||||
value
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user