diff --git a/framework/shopify/lib/normalize.ts b/framework/shopify/lib/normalize.ts index e2670cb3b..537e36f69 100644 --- a/framework/shopify/lib/normalize.ts +++ b/framework/shopify/lib/normalize.ts @@ -92,9 +92,7 @@ export function normalizeCart(data: Checkout): Cart { lineItemsSubtotalPrice: data.subtotalPrice, subtotalPrice: data.subtotalPrice, totalPrice: data.totalPrice, - discounts: data.discountApplications?.edges.map(({ value }: any) => ({ - value, - })), + discounts: [], } } @@ -119,8 +117,6 @@ function normalizeLineItem({ listPrice: variant?.compareAtPrice, }, path: '', - discounts: item.discountAllocations.map(({ value }: any) => ({ - value, - })), + discounts: [], } }