News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

How to change Euro bank in convertECB.php

Started by ngodoan, December 01, 2012, 11:04:56 AM

Previous topic - Next topic

ngodoan

convertECB.php using Euro Central Bank to change all currencies. but I want to using my nation bank, dont use exchange rate from ECB.

How can I fix it ?

plz.

bytelord

Hello,

convertECB is located under administrator\components\com_virtuemart\plugins\currency_converter\convertECB

between lines 29-32 you will find the appropriate information:

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';



You could create a new converter but you have to use the schema that your bank will provide. Study the code, create a new exchange rate plugin.

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!