Documentation

deleteByDiscount

void public static
\Bitrix\Sale\Internals\DiscountCouponTable::deleteByDiscount(
 integer $discount
);

Method deletes all coupons for the discount with code $discount. Static method.

Parameters

ParameterDescriptionVersion
$discountShopping cart discount ID.

Example



© «Bitrix24», 2001-2024
Up