Documentation

convertCurrency

void public static
\Bitrix\Catalog\DiscountTable::convertCurrency(
 array &$discount,
 string $currency
);

Method recalculates discount parameters in another currency (store currency). Static method.

Parameters

ParameterDescriptionVersion
&$discountArray with discount parameters.
$currencyNew currency.

Example



© «Bitrix24», 2001-2023
Up