Documentation

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

ParameterDescriptionVersion
$newPriceNew price.
$oldPriceOld price.
$currencyCurrency.

Example



© «Bitrix24», 2001-2024
Up