Home > @shopware-pwa/composables > IUseProductConfigurator

# IUseProductConfigurator interface

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

interface for useProductConfigurator() composable

Signature:

export interface IUseProductConfigurator 

# Properties

Property Type Description
findVariantForSelectedOptions (options?: { [key: string]: string; }) => Promise<void> (BETA)
getOptionGroups Ref<PropertyGroup[]> (BETA) All assigned properties which the variant can be made of
getSelectedOptions Ref<{ [key: string]: string; }> (BETA) Object of currently selected options
handleChange (attribute: string, option: string, onChangeHandled?: Function) => Promise<void> (BETA) Handler for action when the selected option is changed
isLoadingOptions Ref<boolean> (BETA) Indicates if the options are being (re)loaded