Home > widget-integration > TierDiscountService > calculateProgressPercent
TierDiscountService.calculateProgressPercent() method
Calculates progress percentage to next tier. Override to customize progress calculation.
Signature:
protected calculateProgressPercent(properties: TierDiscountModelProperties): number;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
properties |
Current model properties |
Returns:
number
Progress percentage (0-100)