Documentation

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

ParameterDescriptionVersion
$discountDiscount ID.
$entityListArray with entities.
$clearWhen parameter is true, clears old values.

Example



© «Bitrix24», 2001-2024
Up