D7 API documentation
What's New
Modules
Component for rendering custom fields
Information blocks in the old core
addDatetimePropertyFilter
addDictionaryPropertyFilter
addNumericPropertyFilter
addPriceFilter
enableCurrencyConversion
getDictionary
getIblockId
getSkuIblockId
getSkuPropertyId
getStorage
isEmptyWhere
isValid
lookupDictionaryValue
query
setPrices
setSectionId
whereToSql
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
Up