Documentation

getForApply

array|boolean public static
\Bitrix\Sale\DiscountCouponsManager::getForApply(
 array $filter,
 array $product = array(),
 boolean $uniqueDiscount = false
);

Method returns list of coupons to be applied with account of filter. Static method.

Parameters

ParameterDescriptionVersion
$filterArray with filter by coupons.
$productArray with product parameters.
$uniqueDiscountWhen true, returns a single coupon for discount.

Example



© «Bitrix24», 2001-2024
Up