Variables

ProductInfo

declaration

const ProductInfo: { ~schema: { brand?: string; brandLink?: string; cover: { alt?: string; meta?: any; sources: any; type: string; } | { alt?: string; meta?: any; sources: { focalPoint?: [number, number]; height: number; provider: string; responsive?: "static" | "mobile" | "desktop"; src: string; width: number; }; type: "image"; } | { alt?: string; meta?: any; sources: { height: number; length: { duration: string; }; provider: string; responsive?: "static" | "mobile" | "desktop"; src: string; width: number; }; type: "video"; }; shortDescription?: string; }; }

Extended product-information.

Useful for product-tiles and product-pages.

Type declaration

NameTypeDefault valueDescription

~schema

{ brand?: string; brandLink?: string; cover: { alt?: string; meta?: any; sources: any; type: string; } | { alt?: string; meta?: any; sources: { focalPoint?: [number, number]; height: number; provider: string; responsive?: "static" | "mobile" | "desktop"; src: string; width: number; }; type: "image"; } | { alt?: string; meta?: any; sources: { height: number; length: { duration: string; }; provider: string; responsive?: "static" | "mobile" | "desktop"; src: string; width: number; }; type: "video"; }; shortDescription?: string; }

~schema.brand?

string

Brand of the product. Can also be used for manufacturer or vendor name.

~schema.brandLink?

string

Link to the brand-page.

~schema.cover

{ alt?: string; meta?: any; sources: any; type: string; } | { alt?: string; meta?: any; sources: { focalPoint?: [number, number]; height: number; provider: string; responsive?: "static" | "mobile" | "desktop"; src: string; width: number; }; type: "image"; } | { alt?: string; meta?: any; sources: { height: number; length: { duration: string; }; provider: string; responsive?: "static" | "mobile" | "desktop"; src: string; width: number; }; type: "video"; }

Media

Main product image.

~schema.shortDescription?

string

Short product description. This may be used as subtitle on product-tiles. Not to be confused with the description-component which is the full html-description of a product.