Skip to content

Commit 552dfe1

Browse files
committed
Fix tests
1 parent c071870 commit 552dfe1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

react/Product.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ export const parseToJsonLD = ({
247247
: normalizeGTIN(rawGTIN)
248248

249249
const gtinFields = mapGtinToSpecificField(gtinObj)
250+
const gtin = gtinObj?.value ?? null
250251

251252
const merchantSKU = selectedItem?.itemId || null
252253

@@ -265,6 +266,7 @@ export const parseToJsonLD = ({
265266
category,
266267
offers: disableOffers ? null : offers,
267268
...gtinFields,
269+
gtin,
268270
}
269271

270272
return productLD

0 commit comments

Comments
 (0)