mirror of
https://github.com/vercel/commerce.git
synced 2025-07-26 03:31:23 +00:00
✨ feat: add product to cart
:%s
This commit is contained in:
@@ -54,7 +54,8 @@ export default function getProductOperation({
|
||||
values: og.options.map((o) => ({ label: o.name })),
|
||||
})),
|
||||
facetValueIds: product.facetValues.map(item=> item.id),
|
||||
collectionIds: product.collections.map(item => item.id)
|
||||
collectionIds: product.collections.map(item => item.id),
|
||||
collection:product.collections.map(item => item.name),
|
||||
} as Product
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user