Documentation

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

ParameterDescriptionVersion
$discountDiscount ID.
$activeDiscount active status flag.

Example



© «Bitrix24», 2001-2024