mirror of
https://github.com/vercel/commerce.git
synced 2025-06-08 01:06:59 +00:00
Update normalize.ts
This commit is contained in:
parent
15d11aeba1
commit
8ad6d26833
@ -122,7 +122,7 @@ export function normalizeProduct({
|
||||
.filter((o) => o.name !== 'Title') // By default Shopify adds a 'Title' name when there's only one option. We don't need it. https://community.shopify.com/c/Shopify-APIs-SDKs/Adding-new-product-variant-is-automatically-adding-quot-Default/td-p/358095
|
||||
.map((o) => normalizeProductOption(o))
|
||||
: [],
|
||||
...(description && { description }),
|
||||
description: description || '',
|
||||
...(descriptionHtml && { descriptionHtml }),
|
||||
...rest,
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user