Skip to main content

Interface: UseProductInfoOptions

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

Options for useProductInfo.

Properties

companyId?

optional companyId?: number

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

Active company id for company-scoped pricing and orderlist resolution.


configuration?

optional configuration?: object

Defined in: composables/react/useProductInfo.ts:48

Portal configuration: image search/variant filters per size.

imageSearchFiltersGrid?

optional imageSearchFiltersGrid?: MediaImageProductSearchInput

Image search filters applied to product/cluster media.

imageVariantFiltersLarge?

optional imageVariantFiltersLarge?: TransformationsInput

Used for products (ProductInfo).

imageVariantFiltersMedium?

optional imageVariantFiltersMedium?: TransformationsInput

Used for clusters (ClusterInfo).

imageVariantFiltersSmall?

optional imageVariantFiltersSmall?: TransformationsInput

Alias: some configs use imageVariantFiltersSmall for product images.


graphqlClient

graphqlClient: GraphQLClient

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

GraphQL client the hook derives its Services bundle from.


language?

optional language?: string

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

Language for product/cluster queries. Defaults to 'NL'.


productTrackAttributes?

optional productTrackAttributes?: string[]

Defined in: composables/react/useProductInfo.ts:46

Attribute names to include in attributeResultSearchInput (productTrackAttributes).


taxZone?

optional taxZone?: string

Defined in: composables/react/useProductInfo.ts:40

Tax zone used for price calculation. Defaults to 'NL'.


user?

optional user?: Contact | Customer | null

Defined in: composables/react/useProductInfo.ts:42

The signed-in user; supplies contactId/customerId for per-user pricing.