mirror of
https://github.com/vercel/commerce.git
synced 2025-07-23 04:36:49 +00:00
WIP pages implementation & fix add to cart variant ID bug
Signed-off-by: Loan Laux <loan@outgrow.io>
This commit is contained in:
@@ -49,7 +49,7 @@ const ProductView: FC<Props> = ({ product }) => {
|
||||
|
||||
await addItem({
|
||||
productId: String(product.id),
|
||||
variantId: String(selectedVariant.id),
|
||||
variantId: String(selectedVariant.sku),
|
||||
pricing: {
|
||||
amount: selectedVariant.price,
|
||||
currencyCode: product.price.currencyCode,
|
||||
|
Reference in New Issue
Block a user