PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Currency aggregator from XML

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hi,

Is there a way to add a custom currency aggregator which provides only information through an XML, CSV, PDF and XLS. I saw that there is information how to add and API here https://currency-switcher.com/how-to-add-its-own-custom-currency-aggregator, but it does not mention XML.

This is the aggregatos in question - https://www.bnb.bg/Statistics/StExternalSector/StExchangeRates/StERForeignCurrencies/index.htm.

And this is where you can access the XML file - http://bnb.bg/Statistics/StExternalSector/StExchangeRates/StERForeignCurrencies/index.htm?download=xml&search=&lang=BG.

Is there a way to read this file and add it to the plugin on a daily basis.

Any help will be appreciated.

Hello

In this case, you should hire a developer to customize the code

To  read  XML files  please  use  - simplexml_load_file