Answer the question
In order to leave comments, you need to log in
Why doesn't Bitrix\Sale\DiscountCouponsManager work?
I get an empty array
use Bitrix\Main\Loader;
\Bitrix\Main\Loader::includeModule('sale');
$arCoupon = \Bitrix\Sale\DiscountCouponsManager::get(
$extMode = true,
$filter = array(),
$show = false,
$final = false
);
?>
<pre>
<? print_r( $arCoupon ); ?>
</pre>
<?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question