Documentation

clearApply

boolean public static
\Bitrix\Sale\DiscountCouponsManager::clearApply(
 boolean $all = true
);

Method removes applied coupon data. Static method.

Parameters

ParameterDescriptionVersion
$allWhen true, clears data for all coupons. Otherwise, removes data only for unsaved coupons.

Example



© «Bitrix24», 2001-2024
Up