From 51a41cbb894c3978a69771ea02a43351bd7fc887 Mon Sep 17 00:00:00 2001 From: Unchained Date: Sun, 29 Mar 2026 20:31:57 +0200 Subject: [PATCH] fix: Add missing currency field to checkout items tracking CartItemData requires currency field for each item. Added currency extraction from variant pricing. --- src/app/[locale]/checkout/page.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/[locale]/checkout/page.tsx b/src/app/[locale]/checkout/page.tsx index cfcac3d..d517325 100644 --- a/src/app/[locale]/checkout/page.tsx +++ b/src/app/[locale]/checkout/page.tsx @@ -183,6 +183,7 @@ export default function CheckoutPage() { name: line.variant.product.name, quantity: line.quantity, price: line.variant.pricing?.price?.gross?.amount || 0, + currency: line.variant.pricing?.price?.gross?.currency || "RSD", })), }); }