Interface: UseProductInfoOptions
Defined in: composables/react/useProductInfo.ts:34
Options for useProductInfo.
Properties
applyOrderlists?
optionalapplyOrderlists?:boolean
Defined in: composables/react/useProductInfo.ts:56
Apply the orderlist filter. Defaults to true when orderlistIds is
non-empty (or resolved from the company), false when explicitly set so an
authenticated user without a contract sees the full catalogue.
companyId?
optionalcompanyId?:number
Defined in: composables/react/useProductInfo.ts:44
Active company id for company-scoped pricing and orderlist resolution.
configuration?
optionalconfiguration?:object
Defined in: composables/react/useProductInfo.ts:60
Portal configuration: image search/variant filters per size.
imageSearchFiltersGrid?
optionalimageSearchFiltersGrid?:MediaImageProductSearchInput
Image search filters applied to product/cluster media.
imageVariantFiltersLarge?
optionalimageVariantFiltersLarge?:TransformationsInput
Used for products (ProductInfo).
imageVariantFiltersMedium?
optionalimageVariantFiltersMedium?:TransformationsInput
Used for clusters (ClusterInfo).
imageVariantFiltersSmall?
optionalimageVariantFiltersSmall?: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?
optionallanguage?:string
Defined in: composables/react/useProductInfo.ts:38
Language for product/cluster queries. Defaults to 'NL'.
orderlistIds?
optionalorderlistIds?:number[]
Defined in: composables/react/useProductInfo.ts:50
Scope the product fetch to specific orderlist IDs (e.g. a chosen B2B contract). When provided, these override the default behaviour of resolving and applying ALL of the company's orderlists.
productTrackAttributes?
optionalproductTrackAttributes?:string[]
Defined in: composables/react/useProductInfo.ts:58
Attribute names to include in attributeResultSearchInput (productTrackAttributes).
taxZone?
optionaltaxZone?:string
Defined in: composables/react/useProductInfo.ts:40
Tax zone used for price calculation. Defaults to 'NL'.
user?
optionaluser?:Contact|Customer|null
Defined in: composables/react/useProductInfo.ts:42
The signed-in user; supplies contactId/customerId for per-user pricing.