Documentation

clearByDiscount

void public static
\Bitrix\Sale\Internals\OrderModulesTable::clearByDiscount(
 array|integer $discount
);

Method deletes entries from table with modules according to the array $discount. Static method.

Parameters

ParameterDescriptionVersion
$discountArray with shopping cart discount IDs or a discount ID.

Example



© «Bitrix24», 2001-2024
Up