Interface: CartOverviewProps
Defined in: components/CartOverview.tsx:15
Properties
cart
cart:
Cart
Defined in: components/CartOverview.tsx:20
Shopping cart object from which the cart overview will be displayed
countries?
optionalcountries?:object[]
Defined in: components/CartOverview.tsx:54
Optional list of countries used to resolve ISO codes (e.g. 'NL') to display names (e.g. 'Netherlands') in the address blocks. When omitted, the shared built-in COUNTRIES list is used as a fallback.
code
code:
string
name
name:
string
graphqlClient?
optionalgraphqlClient?:GraphQLClient
Defined in: components/CartOverview.tsx:17
GraphQL client for the Propeller SDK. Optional — currently unused internally; kept for API/Vue parity.
labels?
optionallabels?:Record<string,string>
Defined in: components/CartOverview.tsx:29
Labels for the cart overview form fields and buttons
onPurchaseButtonClick?
optionalonPurchaseButtonClick?: (cart,reference,notes) =>void
Defined in: components/CartOverview.tsx:47
Action when the purchase button is clicked. Receives cart, reference, and notes
Parameters
cart
Cart
reference
string
notes
string
Returns
void
onTermsAndConditionsClick?
optionalonTermsAndConditionsClick?: () =>void
Defined in: components/CartOverview.tsx:41
Action when the "Terms and conditions" link is clicked
Returns
void
overviewContainerClass?
optionaloverviewContainerClass?:string
Defined in: components/CartOverview.tsx:23
The CSS class for the cart overview container
showNotes?
optionalshowNotes?:boolean
Defined in: components/CartOverview.tsx:32
Show the notes field for the cart
showPurchaseButton?
optionalshowPurchaseButton?:boolean
Defined in: components/CartOverview.tsx:44
Show the "Purchase" button for placing an order
showReference?
optionalshowReference?:boolean
Defined in: components/CartOverview.tsx:35
Show the reference field for the cart
showTermsAndConditions?
optionalshowTermsAndConditions?:boolean
Defined in: components/CartOverview.tsx:38
Show the terms and conditions acceptance
title?
optionaltitle?:string
Defined in: components/CartOverview.tsx:26
Title of the cart overview