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
Parameter | Description | Version |
---|---|---|
$discount | Array of discount parameters. | |
$params | Additional parameters. |
Example
© «Bitrix24», 2001-2024
Up