Skip to main content

Interface: UseProductBundlesOptions

Defined in: composables/react/useProductBundles.ts:28

Options for useProductBundles.

Properties

companyId?

optional companyId?: number

Defined in: composables/react/useProductBundles.ts:34

Active company id for B2B cart resolution.


configuration

configuration: object

Defined in: composables/react/useProductBundles.ts:38

Portal configuration: language plus required image search/variant filters.

imageSearchFiltersGrid

imageSearchFiltersGrid: MediaImageProductSearchInput

imageVariantFiltersSmall

imageVariantFiltersSmall: TransformationsInput

language?

optional language?: string


graphqlClient

graphqlClient: GraphQLClient

Defined in: composables/react/useProductBundles.ts:30

GraphQL client the hook derives its Services bundle from.


language?

optional language?: string

Defined in: composables/react/useProductBundles.ts:36

Language for bundle queries. Falls back to configuration.language, then 'NL'.


onCartCreated?

optional onCartCreated?: (cart) => void

Defined in: composables/react/useProductBundles.ts:44

Fires when a fresh cart is created — use it to persist the cart id.

Parameters

cart

Cart

Returns

void


user

user: AnyUser

Defined in: composables/react/useProductBundles.ts:32

The signed-in user; scopes cart resolution and pricing.