You are viewing API docs for version 1.89.3.

View latest

Home > widget-integration > PriceRenderer

PriceRenderer type

Function type for rendering price HTML

Signature:

export type PriceRenderer = (priceMin: number | string, compareAtPriceMin: number | string, priceMax: number | string | null, params: PriceRenderParams) => Promise<string>;

References: PriceRenderParams