changeActiveByDiscount
void public static \Bitrix\Catalog\DiscountRestrictionTable::changeActiveByDiscount( integer $discount, string $active );
Static method sets active status flag by discount ID in the table. Method return nothing.
Parameters
Parameter | Description | Version |
---|---|---|
$discount | Discount ID. | |
$active | Discount active status flag. |
Example
© «Bitrix24», 2001-2024
Up