Skip to main content

Type Alias: SelectRelatedProduct()

SelectRelatedProduct: (productId, variantCode, isModular, isActive) => Promise<void>

Call it to select product from related list. Initially clears sessionStorage and dispatches several Redux actions to clear all currently selected product data. Then dispatches events with new data.

Parameters

productId: string

Id of related product

variantCode: string

Variant code of related product

isModular: boolean

Is modular product

isActive: boolean

Is product active

Returns

Promise<void>

Since

6.0.0

Fires

@mimeeq#mimeeq-open-related-product

Fires

@mimeeq#mimeeq-app-url-change