mirror of
https://github.com/vercel/commerce.git
synced 2025-06-18 21:21:21 +00:00
Added options to BigCommerce normalizeLineItem
This commit is contained in:
parent
ca68375694
commit
c577fd9fbb
@ -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,
|
||||
})),
|
||||
|
Loading…
x
Reference in New Issue
Block a user