Skip to main content

Interface: ProductPriceProps

Defined in: components/ProductPrice.tsx:13

Properties

className?

optional className?: string

Defined in: components/ProductPrice.tsx:60

Extra CSS class applied to the root element.


currency?

optional currency?: string

Defined in: components/ProductPrice.tsx:21

Currency symbol to display. Defaults to '€'.


includeTax?

optional includeTax?: 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?

optional labels?: Record<string, string>

Defined in: components/ProductPrice.tsx:54

Override any UI string. Available keys: inclTax, exclTax, loginToSeePrices


options?

optional options?: ClusterOption[]

Defined in: components/ProductPrice.tsx:45

Cluster options (cluster.options). Required option default prices are added even without an active selection.


portalMode?

optional portalMode?: 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?

optional priceSize?: string

Defined in: components/ProductPrice.tsx:57

Tailwind text-size class for the leading price. Defaults to 'text-3xl'.


selectedOptionProducts?

optional selectedOptionProducts?: Product[]

Defined in: components/ProductPrice.tsx:48

Active option product selections — pass Object.values(selectedOptionProducts). Price updates on every change.


taxZone?

optional taxZone?: string

Defined in: components/ProductPrice.tsx:42

Tax zone code. Defaults to 'NL'.


user?

optional user?: Contact | Customer | null

Defined in: components/ProductPrice.tsx:32

Authenticated user — used for semi-closed visibility.