updateByDiscount
boolean public static \Bitrix\Sale\Internals\DiscountEntitiesTable::updateByDiscount( integer $discount, array $entityList, boolean $clear );
Method updates entity list parameters according discount with code $discount
. Static method.
Parameters
Parameter | Description | Version |
---|---|---|
$discount | Discount ID. | |
$entityList | Array with entities. | |
$clear | When parameter is true, clears old values. |
Example
© «Bitrix24», 2001-2024
Up