Home > widget-integration > TierDiscountService > onBundleAddedToCart
TierDiscountService.onBundleAddedToCart() method
Hook called after bundle successfully added to cart. Override for custom post-add logic like analytics or UI updates.
Signature:
protected onBundleAddedToCart(model: TierDiscountModel): void;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
model |
Model that was added |
Returns:
void