updateByDiscount
boolean public static \Bitrix\Sale\Internals\DiscountModuleTable::updateByDiscount( integer $discount, array $moduleList, boolean $clear );
Method updates parameters for list of modules, necessary for handling discount with code $discount
. Static method.
Parameters
Parameter | Description | Version |
---|---|---|
$discount | Discount ID. | |
$moduleList | Array with module IDs. | |
$clear | When parameter is true, clears old values. |
Example
© «Bitrix24», 2001-2024
Up