Skip to content

productJsonLd

productJsonLd(product, options?): Record<string, unknown>

The schema.org Product for a product: its name, images and one offer per priced variant. A variant with no price offers nothing (never a zero price). Amounts are the store’s own decimal strings, so no float is involved.

Product

JsonLdOptions = {}

Record<string, unknown>