D7 API documentation
What's New
Modules
Online Store in the old core
Working via register
calculateApplyCoupons
checkDiscountProvider
createSimpleDescription
deleteByOrder
formatArrayDescription
formatDescription
formatDiscountDescription
getEditUrl
getManagerConfig
init
loadResultFromDatabase
prepareDiscountDescription
saveCoupon
saveDiscount
setManagerConfig
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
Up