Documentation

prepareData

array|boolean public static
\Bitrix\Catalog\Discount\DiscountManager::prepareData(
 array $discount,
 array $params = array()
);

Returns discount data necessary for its further use within a created order. Static method.

Parameters

ParameterDescriptionVersion
$discountArray of discount parameters.
$paramsAdditional parameters.

Example



© «Bitrix24», 2001-2024
Up