Interface: UseQuickOrderOptions
Defined in: composables/react/useQuickOrder.ts:74
Options for useQuickOrder.
Properties
afterAddToCart?
optionalafterAddToCart?: (cart) =>void
Defined in: composables/react/useQuickOrder.ts:104
Fires after a successful bulk add — receives the resulting cart.
Parameters
cart
Cart
Returns
void
applyOrderlists?
optionalapplyOrderlists?:boolean
Defined in: composables/react/useQuickOrder.ts:90
Set false to ignore orderlistIds. Defaults to true when ids are given.
companyId?
optionalcompanyId?:number
Defined in: composables/react/useQuickOrder.ts:80
Active company id — scopes cart + pricing for B2B users.
configuration?
optionalconfiguration?:object
Defined in: composables/react/useQuickOrder.ts:92
Image filters + the base category the search is scoped to.
anonymousUserId?
optionalanonymousUserId?:number
The channel's anonymous user, seeded by the host. Scopes logged-out listings exactly like the SSR seed does.
baseCategoryId?
optionalbaseCategoryId?:number
Catalog root. Without it the search returns nothing — see searchProducts.
imageSearchFiltersGrid?
optionalimageSearchFiltersGrid?:MediaImageProductSearchInput
imageVariantFiltersSmall?
optionalimageVariantFiltersSmall?:TransformationsInput
graphqlClient?
optionalgraphqlClient?:GraphQLClient
Defined in: composables/react/useQuickOrder.ts:76
GraphQL client the hook derives its Services bundle from. Resolved from PropellerProvider when omitted.
language?
optionallanguage?:string
Defined in: composables/react/useQuickOrder.ts:82
Language for search + cart queries. Defaults to 'NL'.
onCartCreated?
optionalonCartCreated?: (cart) =>void
Defined in: composables/react/useQuickOrder.ts:102
Fires when submit creates a fresh cart — persist the cart id.
Parameters
cart
Cart
Returns
void
orderlistIds?
optionalorderlistIds?:number[]
Defined in: composables/react/useQuickOrder.ts:88
Orderlist (contract) ids to scope the catalogue by.
searchLimit?
optionalsearchLimit?:number
Defined in: composables/react/useQuickOrder.ts:84
Max typeahead results per row. Defaults to 8.
taxZone?
optionaltaxZone?:string
Defined in: composables/react/useQuickOrder.ts:86
Tax zone for price calculation. Defaults to 'NL'.
user?
optionaluser?:AnyUser
Defined in: composables/react/useQuickOrder.ts:78
The signed-in user (quick order is an authenticated feature).