Home > @shopware-pwa/helpers > getProductOptions

# getProductOptions() function

Get product options as ui-interfaces

Signature:

export declare function getProductOptions({ product, }?: {
    product?: Product;
}): UiProductOption[];

# Parameters

Parameter Type Description
{ product, } { product?: Product; }

Returns:

UiProductOption[]