Interface: CartCarriersProps
Defined in: components/CartCarriers.tsx:18
Properties
carriersContainerClass?
optionalcarriersContainerClass?:string
Defined in: components/CartCarriers.tsx:30
The CSS class for the carriers container
cart
cart:
Cart
Defined in: components/CartCarriers.tsx:27
Shopping cart object from which the carriers will be displayed
currency?
optionalcurrency?:string
Defined in: components/CartCarriers.tsx:45
Currency symbol for prices. Defaults to '€'.
formatPrice?
optionalformatPrice?: (price) =>string
Defined in: components/CartCarriers.tsx:39
Custom price formatting function
Parameters
price
number
Returns
string
labels?
optionallabels?:Record<string,string>
Defined in: components/CartCarriers.tsx:48
Labels for the component
language?
optionallanguage?:string
Defined in: components/CartCarriers.tsx:24
Storefront language ('EN', 'NL', …). Decides the number format prices are rendered in — without it they fall back to Dutch separators regardless of the language the shopper is reading.
onCarrierSelect?
optionalonCarrierSelect?: (carrier) =>void
Defined in: components/CartCarriers.tsx:36
Action when a carrier is selected
Parameters
carrier
CartCarrier
Returns
void
showCarrierLogo?
optionalshowCarrierLogo?:boolean
Defined in: components/CartCarriers.tsx:33
Display the carrier logo
showPrice?
optionalshowPrice?:boolean
Defined in: components/CartCarriers.tsx:42
Show carrier price (default: true)