[ExchangeRatesSettings]
Available before Exponential 6: the 4.x kernel had it already; the 4.x reference had no page for it.
Summary
The group [ExchangeRatesSettings] of settings/shop.ini.
File
settings/shop.ini; override it in settings/override/shop.ini.append.php, in a siteaccess or in an extension.
Settings
| Setting | Default | Description |
|---|---|---|
| ExchangeRatesUpdateHandler | eZECB | eZECB - european central bank |
| RepositoryDirectories[] | kernel/shop/classes/exchangeratehandlers | |
| ExtensionDirectories[] | (empty) | A list of extensions containing exchange rates update handlers These handlers must be placed in : <extension>/<your_extension>/exchangeratehandlers/<handler_name>/<handler_name>handler.php And contain a class called : <handler_name>Handler This class must implement eZExchangeRatesUpdateHandler ( kernel/shop/classes/exchangeratehandlers/ezexchangeratesupdatehandler.php ) It's common to create a settings/shop.ini.append file in your extension and define 'ExtensionDirectories' in it to automatically get handler from the extension when it's turned on. |
| BaseCurrency | EUR | Base currency for rates: USD/<base>, NOK/<base>, UAH/<base>, ... |
See also
Generated example: shop.ini [ExchangeRatesSettings]
Added to the reference for Exponential 6.0.15: the 4.x reference had no page for this group. The descriptions are the comment lines of settings/shop.ini.
Contributors
- Graham Brookins Updated
Comments
Add a comment