mirror of
https://github.com/vercel/commerce.git
synced 2025-07-26 03:31:23 +00:00
viewed prodyct
This commit is contained in:
@@ -36,6 +36,7 @@ export default function getProductOperation({
|
||||
})),
|
||||
variants: product.variants.map((v) => ({
|
||||
id: v.id,
|
||||
name:v.name,
|
||||
options: v.options.map((o) => ({
|
||||
// This __typename property is required in order for the correct
|
||||
// variant selection to work, see `components/product/helpers.ts`
|
||||
|
Reference in New Issue
Block a user