Documentation

setUseCoupons

void public static
\Bitrix\Sale\Internals\DiscountTable::setUseCoupons(
 array $discountList,
 string $use
);

Method sets flag for coupons available for listed shopping cart discounts. Static method.

Parameters

ParameterDescriptionVersion
$discountListArray with shopping cart IDs.
$useUse coupon use flag.

Example



© «Bitrix24», 2001-2024
Up