Home > widget-integration > CombinedProductListingsController > ensureCombinedListingState

CombinedProductListingsController.ensureCombinedListingState() method

Ensure combined listing state is loaded and cached. Checks configuration and attempts to fetch if enabled or product appears to be combined listing.

Signature:

ensureCombinedListingState(productId: string | number, productData?: Record<string, unknown> | null): Promise<void>;

Parameters

Parameter

Type

Description

productId

string | number

productData

Record<string, unknown> | null

(Optional)

Returns:

Promise<void>