News:

Looking for documentation? Take a look on our wiki

Main Menu

How to add new exchange rate feed

Started by zag-rox, September 17, 2016, 12:44:52 PM

Previous topic - Next topic

zag-rox

Hi, I'm using latest VM 3.0.16 on a multi language website.
When changing the "currency converter menu" in front site to native IRR its showing the incorrect rate!
I find out that there's a daily.xml file inside the cache folder of joomla which every day it would updating from european central bank.
There's no rate value for Iranian-rial IRR currency in code lines!!

Would you please help me how can I add new exchange rate feed ?
or how can I create and add a manual feed file beside the current one that collect the rate for that currency from another feed file?

Thanks

Milbo

Copy the file JoomlaRoot/administrator/components/com_virtuemart/plugins/currency_converter convertECB.php and rename it to something else.

Then select your new file in the vm config. now you can adjust the convertECB for your purpose. The easiest way is to find another bank which provides the data in the same format, then you just need to change the URL.

Or you can also just write your own exchange rate into your currency.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/