Documentation

prepareDiscountDescription

\Bitrix\Sale\Result public static
\Bitrix\Sale\OrderDiscountManager::prepareDiscountDescription(
 integer $type,
 array|string $data
);

Method returns description for shopping cart discount. Static method.

Parameters

ParameterDescriptionVersion
$typeInformation type.
$dataData.

Example



© «Bitrix24», 2001-2024
Up