From cb99695b72fc6fa058d62cd577231639672f8ed2 Mon Sep 17 00:00:00 2001 From: Matthew Petrie Date: Wed, 16 Oct 2024 04:28:35 +0100 Subject: [PATCH] Correct default cart tax currency (#1260) --- lib/shopify/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/shopify/index.ts b/lib/shopify/index.ts index 4de85f29a..677b4dd58 100644 --- a/lib/shopify/index.ts +++ b/lib/shopify/index.ts @@ -122,7 +122,7 @@ const reshapeCart = (cart: ShopifyCart): Cart => { if (!cart.cost?.totalTaxAmount) { cart.cost.totalTaxAmount = { amount: '0.0', - currencyCode: 'USD' + currencyCode: cart.cost.totalAmount.currencyCode }; }