changeActiveByDiscount
void public static \Bitrix\Sale\Internals\DiscountGroupTable::changeActiveByDiscount( integer $discount, string $active );
Method updates active status flag for table entries, associated with discount code $discount
. Static method.
Parameters
Parameter | Description | Version |
---|---|---|
$discount | Discount ID. | |
$active | Discount active status flag. |
Example
© «Bitrix24», 2001-2024
Up