Update normalize.ts

This commit is contained in:
Catalin Pinte 2022-09-07 11:19:45 +03:00
parent 15d11aeba1
commit 8ad6d26833

View File

@ -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,
}