Home > widget-integration > QuickAddToCartController > handleAddToCart
QuickAddToCartController.handleAddToCart() method
Signature:
protected handleAddToCart(variant: ProductItemVariant$3 | null, button: HTMLButtonElement, popupSelection: HTMLElement): Promise<void>;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
variant |
ProductItemVariant$3 | null | |
|
button |
HTMLButtonElement | |
|
popupSelection |
HTMLElement |
Returns:
Promise<void>