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
Parameter | Description | Version |
---|---|---|
$filter | Array with filter by coupons. | |
$product | Array with product parameters. | |
$uniqueDiscount | When true, returns a single coupon for discount. |
Example
© «Bitrix24», 2001-2025