P
P
perry__utkonoss2016-02-08 21:24:35
PHP
perry__utkonoss, 2016-02-08 21:24:35

How to manually deactivate a coupon in Bitrix?

I made one-time coupons of the rules for working with the basket, after placing an order, the coupon is not deactivated, since the checkout component is not used at all (and unfortunately, you cannot use it). How to deactivate a coupon manually? For discount coupons, there is a CCatalogDiscountCoupon::Update method, but nothing for such coupons(

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Shtinov, 2016-02-18
@delimer

In Bitrix, the documentation has not kept pace with releases lately...
Here you can see the necessary methods for working with cart coupons
bxapi.ru/?module_id=sale&class=DiscountCouponTable

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question