Skip to main content

Interface: ItemsOverviewProps

Defined in: components/ItemsOverview.tsx:16

Properties​

cart​

cart: Cart

Defined in: components/ItemsOverview.tsx:18

Shopping cart object from which the cart items overview will be displayed


currency?​

optional currency?: string

Defined in: components/ItemsOverview.tsx:38

Currency symbol used by the default formatter. Default: '€'.


formatPrice?​

optional formatPrice?: (price) => string

Defined in: components/ItemsOverview.tsx:36

Custom price formatting function

Parameters​

price​

number

Returns​

string


includeTax?​

optional includeTax?: boolean

Defined in: components/ItemsOverview.tsx:40

Include tax in the line prices. Resolved from <PropellerProvider> when omitted; defaults to false.


itemNameClickable?​

optional itemNameClickable?: boolean

Defined in: components/ItemsOverview.tsx:27

The cart items names are clickable links


itemsOverviewContainerClass?​

optional itemsOverviewContainerClass?: string

Defined in: components/ItemsOverview.tsx:21

The CSS class for the cart items overview container


labels?​

optional labels?: Record&lt;string, string>

Defined in: components/ItemsOverview.tsx:37

Labels for the component


language?​

optional language?: string

Defined in: components/ItemsOverview.tsx:39

Active language for localized surcharge names.


onCartItemNameClick?​

optional onCartItemNameClick?: (item) => void

Defined in: components/ItemsOverview.tsx:30

Action when a cart item's name is clicked

Parameters​

item​

CartMainItem

Returns​

void


showAvailability?​

optional showAvailability?: boolean

Defined in: components/ItemsOverview.tsx:32

Show the availability of the cart item


showImage?​

optional showImage?: boolean

Defined in: components/ItemsOverview.tsx:34

Show a small image of the cart item


showPrice?​

optional showPrice?: boolean

Defined in: components/ItemsOverview.tsx:35

Show the price of the cart item


showQuantity?​

optional showQuantity?: boolean

Defined in: components/ItemsOverview.tsx:31

Show the quantity of the cart item


showSku?​

optional showSku?: boolean

Defined in: components/ItemsOverview.tsx:33

Show the SKU of the cart item


title?​

optional title?: string

Defined in: components/ItemsOverview.tsx:24

Title of the cart items overview