enableCurrencyConversion
void public \Bitrix\Iblock\PropertyIndex\Facet::enableCurrencyConversion( string $toCurrencyId, array $convertCurrencyId );
After calling this method all subsequent queries will be automatically using converted currency for filtering. Non-static method.
Method can be used only with the Currency module installed.
Parameters
Parameter | Description | Version |
---|---|---|
$toCurrencyId | Currency ID for prices, passed into the method addPriceFilter. | |
$convertCurrencyId | Array of available currency IDs. |
Example
© «Bitrix24», 2001-2024