mirror of
https://github.com/vercel/commerce.git
synced 2025-07-27 04:01:23 +00:00
Aligned with upstream changes
This commit is contained in:
@@ -77,7 +77,7 @@ export function normalizeProduct(productNode: ShopifyProduct): any {
|
||||
slug: handle?.replace(/^\/+|\/+$/g, ''),
|
||||
price: money(priceRange?.minVariantPrice),
|
||||
images: normalizeProductImages(images),
|
||||
variants: variants ? normalizeProductVariants(variants) : null,
|
||||
variants: variants ? normalizeProductVariants(variants) : [],
|
||||
options: options ? options.map((o) => normalizeProductOption(o)) : [],
|
||||
...rest,
|
||||
}
|
||||
|
Reference in New Issue
Block a user