B
B
BlackJack0432020-12-03 12:22:06
1C-Bitrix
BlackJack043, 2020-12-03 12:22:06

Bitrix coupon is applied, but does not show that it has been used?

5fc8ad950da7c706003198.png

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

2 answer(s)
A
Anton, 2020-12-03
@anton99zel

Was used displayed for reusable coupons. A used one-time use has a usage sign in the Use Date and is then deactivated.
5fc8b275bc06c720901421.jpeg

The order is made, after I can use the coupon again.

It is necessary to look whether it was applied twice in orders, if this is a glitch, you never know what you entered it.

T
tgarl, 2020-12-04
@tgarl

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 question

Ask a Question

731 491 924 answers to any question