Home > widget-integration > PredictiveBundleController > selectVariantProduct
PredictiveBundleController.selectVariantProduct() method
Updates bundle state after a variant selection.
Signature:
selectVariantProduct(target: HTMLElement, blockType: string): Promise<void>;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
target |
HTMLElement |
Selected dropdown option target. |
|
blockType |
string |
Source block type. |
Returns:
Promise<void>