mirror of
https://github.com/vercel/commerce.git
synced 2025-05-18 07:26:59 +00:00
refactor: update normalize line items (image)
This commit is contained in:
parent
553fbc8ec5
commit
8cac636022
@ -19,7 +19,7 @@ export default function normalizeLineItems(lineItems: any[]) {
|
||||
sku: attributes.sku_code,
|
||||
price: attributes.unit_amount_float,
|
||||
image: {
|
||||
url: `/commercelayer_assets/${attributes.reference}_FLAT.png`,
|
||||
url: `https://data.commercelayer.app/vercel-provider/${attributes.reference}_FLAT.png`,
|
||||
altText: 'Black Women Long Sleeve Shirt',
|
||||
width: 1000,
|
||||
height: 1000,
|
||||
|
Loading…
x
Reference in New Issue
Block a user