Interface: OrderTotalsProps
Defined in: components/OrderTotals.tsx:12
Properties
currency?
optionalcurrency?:string
Defined in: components/OrderTotals.tsx:51
Currency symbol used by the default formatter. Default: '€'.
formatPrice?
optionalformatPrice?: (price) =>string
Defined in: components/OrderTotals.tsx:48
Custom price formatting function
Parameters
price
number
Returns
string
labels?
optionallabels?:Record<string,string>
Defined in: components/OrderTotals.tsx:27
Labels for the component
language?
optionallanguage?:string
Defined in: components/OrderTotals.tsx:18
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.
order
order:
Order
Defined in: components/OrderTotals.tsx:21
The order/quote used to populate the summary data
showDiscount?
optionalshowDiscount?:boolean
Defined in: components/OrderTotals.tsx:33
Display the total discount of the order/quote
showShippingCosts?
optionalshowShippingCosts?:boolean
Defined in: components/OrderTotals.tsx:36
Display the shipping costs of the order/quote
showSubtotal?
optionalshowSubtotal?:boolean
Defined in: components/OrderTotals.tsx:30
Display the subtotal of the order/quote
showTotalExclVat?
optionalshowTotalExclVat?:boolean
Defined in: components/OrderTotals.tsx:42
Display the total of the order/quote excluding the VAT
showTotalVat?
optionalshowTotalVat?:boolean
Defined in: components/OrderTotals.tsx:45
Display the total VAT of the order/quote
showVATs?
optionalshowVATs?:boolean
Defined in: components/OrderTotals.tsx:39
Display all VATs of the order/quote
title?
optionaltitle?:string
Defined in: components/OrderTotals.tsx:24
Order summary block title