createSimpleDescription
array|boolean public static \Bitrix\Sale\OrderDiscountManager::createSimpleDescription( float $newPrice, float $oldPrice, string $currency );
Method creates a simple description for an arbitrary shopping cart rule. Static method.
Parameters
Parameter | Description | Version |
---|---|---|
$newPrice | New price. | |
$oldPrice | Old price. | |
$currency | Currency. |
Example
© «Bitrix24», 2001-2024