| currency | string | 'EUR' |
- Name
- currency
- Description
ISO 4217 code for the totals; the first item's currency takes precedence. - Type
string- Default
- 'EUR'
|
| freeShippingThreshold | number | 10000 |
- Name
- freeShippingThreshold
- Description
Subtotal in minor units from which shipping is free, exactly at it included. - Type
number- Default
- 10000
|
| shippingCost | number | 599 |
- Name
- shippingCost
- Description
Shipping charged in cents while the subtotal is at or below the free-shipping threshold. - Type
number- Default
- 599
|
| title | ((count: number) => string) | `Shopping Cart (${count})` |
- Name
- title
- Description
Builds the page heading from the number of lines in the cart. - Type
(count: number): string- Default
- `Shopping Cart (${count})`
|
| summaryTitle | string | 'Order Summary' |
- Name
- summaryTitle
- Description
Shown as the heading of the order summary card. - Type
string- Default
- 'Order Summary'
|
| subtotalLabel | string | 'Subtotal' |
- Name
- subtotalLabel
- Description
Shown next to the subtotal in the order summary. - Type
string- Default
- 'Subtotal'
|
| shippingLabel | string | 'Shipping' |
- Name
- shippingLabel
- Description
Shown next to the shipping cost in the order summary. - Type
string- Default
- 'Shipping'
|
| freeShippingLabel | string | 'Free' |
- Name
- freeShippingLabel
- Description
Shown in the badge that replaces the shipping cost once shipping is free. - Type
string- Default
- 'Free'
|
| savingsLabel | string | 'You save' |
- Name
- savingsLabel
- Description
Shown next to the amount saved on reduced items; the row hides when nothing is saved. - Type
string- Default
- 'You save'
|
| totalLabel | string | 'Total' |
- Name
- totalLabel
- Description
Shown next to the order total. - Type
string- Default
- 'Total'
|
| taxNote | string | 'Incl. VAT' |
- Name
- taxNote
- Description
Shown under the total's label, e.g. Incl. VAT; hidden when empty. - Type
string- Default
- 'Incl. VAT'
|
| checkoutLabel | string | 'Checkout' |
- Name
- checkoutLabel
- Description
Shown on the button that starts checkout. - Type
string- Default
- 'Checkout'
|
| continueLabel | string | 'Continue Shopping' |
- Name
- continueLabel
- Description
Shown on the link under checkout and on the empty state's button; both emit continue-shopping. - Type
string- Default
- 'Continue Shopping'
|
| emptyTitle | string | 'Your cart is empty' |
- Name
- emptyTitle
- Description
Shown as the heading when the cart is empty. - Type
string- Default
- 'Your cart is empty'
|
| emptyText | string | 'Add some items to get started.' |
- Name
- emptyText
- Description
Shown under the heading when the cart is empty. - Type
string- Default
- 'Add some items to get started.'
|
| maxQuantity | number | — |
- Name
- maxQuantity
- Description
Highest quantity a shopper can set on one item. - Type
number- Default
- —
|
| removeLabel | ((name: string) => string) | — |
- Name
- removeLabel
- Description
Builds the screen-reader name of an item's remove button from the item's name. - Type
(name: string): string- Default
- —
|
| decreaseLabel | ((name: string) => string) | — |
- Name
- decreaseLabel
- Description
Builds the screen-reader name of the button that lowers an item's quantity from the item's name. - Type
(name: string): string- Default
- —
|
| increaseLabel | ((name: string) => string) | — |
- Name
- increaseLabel
- Description
Builds the screen-reader name of the button that raises an item's quantity from the item's name. - Type
(name: string): string- Default
- —
|
| eachLabel | ((price: string) => string) | — |
- Name
- eachLabel
- Description
Builds the unit-price line from the formatted price; shows when an item's quantity is above 1. - Type
(price: string): string- Default
- —
|
| locale | string | — |
- Name
- locale
- Description
BCP 47 locale the prices are formatted in; the ConfigProvider's when left out. - Type
string- Default
- —
|
| class | ClassValue | — |
- Name
- class
- Description
Classes added to the part's own element, after its recipe classes. - Type
null | string | false | Record<string, any> | ClassValue[]- Default
- —
|
| items | CartLine[] | [] |
- Name
- items
- Description
The cart's lines; quantity changes and removals update it. - Type
CartLine[]- Default
- []
|