Answer the question
In order to leave comments, you need to log in
Bitrix coupon is applied, but does not show that it has been used?
I don’t understand what the problem is, a coupon is applied when buying a product. The order is made, after I can use the coupon again. I went to look at the coupons and it was not used, how so? he is disposable. Suitable for periods of activity.
Answer the question
In order to leave comments, you need to log in
Was used displayed for reusable coupons. A used one-time use has a usage sign in the Use Date and is then deactivated.
The order is made, after I can use the coupon again.
I'll subscribe to this thread, maybe someday someone will find out the reason.
I confirm that if discounts + discounts on coupons are actively used on the site, then you periodically encounter the same situation. The coupon is applied in the order, but is not deactivated. Hence it can be reused. And sometimes more than once.
I periodically use the \Bitrix\Sale\Internals\DiscountCouponTable::getList
script to search for such - we take active coupons at a certain discount
$rsSales = CSaleOrder::GetList(array("DATE_INSERT" => "ASC"), $arFilter); - check orders for the presence of these coupons
"BASKET_DISCOUNT_COUPON" => $coupon['COUPON'], - filter for orders
save a list of orders if you find such and then decide what to do with it
I once wrote to technical support on this topic, but they require an active license and conditions for playback, which cannot be specially recreated.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question