shop.ini [ExchangeRatesSettings]
The block [ExchangeRatesSettings] of settings/shop.ini, with 4 setting(s).
Never edit settings/shop.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:
settings/override/shop.ini.append.phpfor every siteaccess,settings/siteaccess/<siteaccess>/shop.ini.append.phpfor one siteaccess,extension/<extension>/settings/shop.ini.append.phpin an extension (read when the extension is active).
ExchangeRatesUpdateHandler
eZECB - european central bank
Default: eZECB.
# settings/override/shop.ini.append.php
[ExchangeRatesSettings]
ExchangeRatesUpdateHandler=eZECB
*/ ?>RepositoryDirectories
Default: a list of 1: kernel/shop/classes/exchangeratehandlers.
# settings/override/shop.ini.append.php
[ExchangeRatesSettings]
# an empty "RepositoryDirectories[]" first replaces the shipped list; without it the items are added
RepositoryDirectories[]
RepositoryDirectories[]=kernel/shop/classes/exchangeratehandlers
*/ ?>ExtensionDirectories
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.
Default: a list of 1: ``.
# settings/override/shop.ini.append.php
[ExchangeRatesSettings]
# an empty "ExtensionDirectories[]" first replaces the shipped list; without it the items are added
ExtensionDirectories[]
ExtensionDirectories[]=
*/ ?>BaseCurrency
Base currency for rates: USD/<base>, NOK/<base>, UAH/<base>, ...
Default: EUR.
# settings/override/shop.ini.append.php
[ExchangeRatesSettings]
BaseCurrency=EUR
*/ ?>Related
Generated by ./console exp:help:examples from settings/shop.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.