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.
Parameters
Section titled “Parameters”product
Section titled “product”Product
options?
Section titled “options?”JsonLdOptions = {}
Returns
Section titled “Returns”Record<string, unknown>