How to change bank in ConvertECB to Russian CRB
plus
Need to increase the frequency of exchange rate updates
Joomla 3.3.6 Virtuemart 3.0.6
ECB rates are got by administrator\components\com_virtuemart\plugins\currency_converter\convertECB.php
guess you need to clone and rewrite this
Is it enough to change only this ?
var $document_address = 'http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml';
var $info_address = 'http://www.ecb.int/stats/eurofxref/';
var $supplier = 'European Central Bank';
no idea - try it - what's the worst that could happen?
and is it necessary to create new one (convertCRB.php) or i can just change the original one?
Quote from: GJC Web Design on April 08, 2015, 11:39:23 AM
no idea - try it - what's the worst that could happen?
the problem is that i can't see any changes online
/cache/daily.xml has been created few mins ago
but prices in admin panel seem as the rate is 1x1
the likelihood of CRB returning the exact same formatted xml as ECB are probably nil
you have to do some proper research/coding to change this I guess