boolean public static
\Bitrix\Sale\DiscountCouponsManager::clearApply(
boolean $all = true
);
Method removes applied coupon data. Static method.
Parameters
Parameter | Description | Version |
$all | When true, clears data for all coupons. Otherwise, removes data only for unsaved coupons. | |
Example