Documentation

saveApplied

array|boolean public static
\Bitrix\Sale\Internals\DiscountCouponTable::saveApplied(
 array $coupons,
 integer $userId,
 \Bitrix\Main\Type\DateTime $currentTime
);

Method saves information about applied coupons. Static method.

Parameters

ParameterDescriptionVersion
$couponsArray with coupons.
$userIdUser ID.
$currentTimeCurrent date and time.

Example



© «Bitrix24», 2001-2024
Up