Interface: CartCarriersProps
Defined in: components/CartCarriers.tsx:15
Properties
carriersContainerClass?
optionalcarriersContainerClass?:string
Defined in: components/CartCarriers.tsx:20
The CSS class for the carriers container
cart
cart:
Cart
Defined in: components/CartCarriers.tsx:17
Shopping cart object from which the carriers will be displayed
currency?
optionalcurrency?:string
Defined in: components/CartCarriers.tsx:35
Currency symbol for prices. Defaults to '€'.
formatPrice?
optionalformatPrice?: (price) =>string
Defined in: components/CartCarriers.tsx:29
Custom price formatting function
Parameters
price
number
Returns
string
labels?
optionallabels?:Record<string,string>
Defined in: components/CartCarriers.tsx:38
Labels for the component
onCarrierSelect?
optionalonCarrierSelect?: (carrier) =>void
Defined in: components/CartCarriers.tsx:26
Action when a carrier is selected
Parameters
carrier
CartCarrier
Returns
void
showCarrierLogo?
optionalshowCarrierLogo?:boolean
Defined in: components/CartCarriers.tsx:23
Display the carrier logo
showPrice?
optionalshowPrice?:boolean
Defined in: components/CartCarriers.tsx:32
Show carrier price (default: true)