formatArrayDescription
array|boolean public static \Bitrix\Sale\OrderDiscountManager::formatArrayDescription( array $descr );
Method returns description of shopping cart discount (value and action) using passed data. Used for generating discount description at the order page.
It is a helper method. Get array and by element passes them to formatDescription. Returns array with strings or false.
Parameters
Parameter | Description | Version |
---|---|---|
$descr | Array with description data. |
Example
© «Bitrix24», 2001-2024