Documentation

setApplyResult

void public
\Bitrix\Sale\Discount::setApplyResult(
 array $applyResult
);

Method allows specifying which of selected discounts and rules are to be excluded from calculation (doesn't allow to add anything). Non-static method.

Parameters

ParameterDescriptionVersion
$applyResultArray with selected discounts.

Example



© «Bitrix24», 2001-2024