Skip to main content

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?

optional countries?: 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?

optional graphqlClient?: GraphQLClient

Defined in: components/CartOverview.tsx:17

GraphQL client for the Propeller SDK. Optional — currently unused internally; kept for API/Vue parity.


labels?

optional labels?: Record<string, string>

Defined in: components/CartOverview.tsx:29

Labels for the cart overview form fields and buttons


onPurchaseButtonClick?

optional onPurchaseButtonClick?: (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?

optional onTermsAndConditionsClick?: () => void

Defined in: components/CartOverview.tsx:41

Action when the "Terms and conditions" link is clicked

Returns

void


overviewContainerClass?

optional overviewContainerClass?: string

Defined in: components/CartOverview.tsx:23

The CSS class for the cart overview container


showNotes?

optional showNotes?: boolean

Defined in: components/CartOverview.tsx:32

Show the notes field for the cart


showPurchaseButton?

optional showPurchaseButton?: boolean

Defined in: components/CartOverview.tsx:44

Show the "Purchase" button for placing an order


showReference?

optional showReference?: boolean

Defined in: components/CartOverview.tsx:35

Show the reference field for the cart


showTermsAndConditions?

optional showTermsAndConditions?: boolean

Defined in: components/CartOverview.tsx:38

Show the terms and conditions acceptance


title?

optional title?: string

Defined in: components/CartOverview.tsx:26

Title of the cart overview