From c577fd9fbb489861edaa6e864062ff5d30ac6003 Mon Sep 17 00:00:00 2001 From: matthew collins Date: Thu, 6 May 2021 09:38:30 -0400 Subject: [PATCH] Added options to BigCommerce normalizeLineItem --- framework/bigcommerce/lib/normalize.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/framework/bigcommerce/lib/normalize.ts b/framework/bigcommerce/lib/normalize.ts index cc7606099..b7c9b3960 100644 --- a/framework/bigcommerce/lib/normalize.ts +++ b/framework/bigcommerce/lib/normalize.ts @@ -106,6 +106,7 @@ function normalizeLineItem(item: any): LineItem { listPrice: item.list_price, }, path: item.url.split('/')[3], + options: item.options, discounts: item.discounts.map((discount: any) => ({ value: discount.discounted_amount, })),