Documentation

setApply

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

ParameterDescriptionVersion
$couponCoupon code.
$dataArray with data for coupon application.

Example



© «Bitrix24», 2001-2024
Up