Interface: ItemsOverviewProps
Defined in: components/ItemsOverview.tsx:14
Properties
cart
cart:
Cart
Defined in: components/ItemsOverview.tsx:16
Shopping cart object from which the cart items overview will be displayed
currency?
optionalcurrency?:string
Defined in: components/ItemsOverview.tsx:36
Currency symbol used by the default formatter. Default: '€'.
formatPrice?
optionalformatPrice?: (price) =>string
Defined in: components/ItemsOverview.tsx:34
Custom price formatting function
Parameters
price
number
Returns
string
includeTax?
optionalincludeTax?:boolean
Defined in: components/ItemsOverview.tsx:38
Include tax in the line prices. Resolved from <PropellerProvider> when omitted; defaults to false.
itemNameClickable?
optionalitemNameClickable?:boolean
Defined in: components/ItemsOverview.tsx:25
The cart items names are clickable links
itemsOverviewContainerClass?
optionalitemsOverviewContainerClass?:string
Defined in: components/ItemsOverview.tsx:19
The CSS class for the cart items overview container
labels?
optionallabels?:Record<string,string>
Defined in: components/ItemsOverview.tsx:35
Labels for the component
language?
optionallanguage?:string
Defined in: components/ItemsOverview.tsx:37
Active language for localized surcharge names.
onCartItemNameClick?
optionalonCartItemNameClick?: (item) =>void
Defined in: components/ItemsOverview.tsx:28
Action when a cart item's name is clicked
Parameters
item
CartMainItem
Returns
void
showAvailability?
optionalshowAvailability?:boolean
Defined in: components/ItemsOverview.tsx:30
Show the availability of the cart item
showImage?
optionalshowImage?:boolean
Defined in: components/ItemsOverview.tsx:32
Show a small image of the cart item
showPrice?
optionalshowPrice?:boolean
Defined in: components/ItemsOverview.tsx:33
Show the price of the cart item
showQuantity?
optionalshowQuantity?:boolean
Defined in: components/ItemsOverview.tsx:29
Show the quantity of the cart item
showSku?
optionalshowSku?:boolean
Defined in: components/ItemsOverview.tsx:31
Show the SKU of the cart item
title?
optionaltitle?:string
Defined in: components/ItemsOverview.tsx:22
Title of the cart items overview