boolean public static
\Bitrix\Sale\DiscountCouponsManager::setApply(
string $coupon,
array $data
);
Method saves in memory the information on applied coupons on a hit. Static method.
Parameters
Parameter | Description | Version |
$coupon | Coupon code. | |
$data | Array with data for coupon application. | |
Example