convertCurrency
void public static \Bitrix\Catalog\DiscountTable::convertCurrency( array &$discount, string $currency );
Method recalculates discount parameters in another currency (store currency). Static method.
Parameters
Parameter | Description | Version |
---|---|---|
&$discount | Array with discount parameters. | |
$currency | New currency. |
Example
© «Bitrix24», 2001-2024
Up