Interface: ProductPriceProps
Defined in: components/ProductPrice.tsx:13
Properties
className?
optionalclassName?:string
Defined in: components/ProductPrice.tsx:60
Extra CSS class applied to the root element.
currency?
optionalcurrency?:string
Defined in: components/ProductPrice.tsx:21
Currency symbol to display. Defaults to '€'.
includeTax?
optionalincludeTax?:boolean
Defined in: components/ProductPrice.tsx:39
When true, net price (incl. tax) is the leading price.
When false (default), gross price (excl. tax) is the leading price.
Note: in the Propeller SDK price.gross = excl. VAT, price.net = incl. VAT.
labels?
optionallabels?:Record<string,string>
Defined in: components/ProductPrice.tsx:54
Override any UI string. Available keys: inclTax, exclTax, loginToSeePrices
options?
optionaloptions?:ClusterOption[]
Defined in: components/ProductPrice.tsx:45
Cluster options (cluster.options). Required option default prices are added even without an active selection.
portalMode?
optionalportalMode?:string
Defined in: components/ProductPrice.tsx:29
Controls portal visibility mode. 'open' — full e-commerce; price is always visible. 'semi-closed' — catalog-only; price is hidden for anonymous users. Defaults to 'open'.
price
price:
ProductPrice
Defined in: components/ProductPrice.tsx:18
ProductPrice object from the product.
Obtain from product.price.
priceSize?
optionalpriceSize?:string
Defined in: components/ProductPrice.tsx:57
Tailwind text-size class for the leading price. Defaults to 'text-3xl'.
selectedOptionProducts?
optionalselectedOptionProducts?:Product[]
Defined in: components/ProductPrice.tsx:48
Active option product selections — pass Object.values(selectedOptionProducts). Price updates on every change.
taxZone?
optionaltaxZone?:string
Defined in: components/ProductPrice.tsx:42
Tax zone code. Defaults to 'NL'.
user?
optionaluser?:Contact|Customer|null
Defined in: components/ProductPrice.tsx:32
Authenticated user — used for semi-closed visibility.