News:

Looking for documentation? Take a look on our wiki

Main Menu

Currency Selector - Automatic Exchange Rate Update?

Started by kellyguru, October 08, 2013, 16:04:39 PM

Previous topic - Next topic

kellyguru

Hey there,

I am using the currency selector module in my joomla 2.5 website that comes with Virtuemart.

I am wondering if the currency exchange rates are updated by Virtuemart? If so, in what time frame? I assume they would be updated every day to assume the fluctuation of exchange rates, correct?

If they are not updated periodically/at all by Virtuemart, does that mean I would have to update them myself?

Thank you,

jenkinhill

Exchange rate is automatically updated by connection to the European Central Bank when needed
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

kellyguru


jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

kellyguru

I do not see the Euro there.
Does that mean it is not automatically updated?

jenkinhill

WTF. The Euro is the base price. Clearly stated on the site is the heading: Euro foreign exchange reference rates.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

roman5527

Hi, how often do you exchange rates?

it is automatic today ? thanks

GJC Web Design

in code

$cache->setLifeTime(360); // check 4 time per day
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

roman5527


GJC Web Design

administrator\components\com_virtuemart\plugins\currency_converter\convertECB.php
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

roman5527

thanks, i find it.

But when i change currency and i recalculate it , exchange rate are not actual.

Example: http://prntscr.com/l5vyyg   item 99€
after change to Czech koruna CZ  : http://prntscr.com/l5vzuq   item 2558,95 Kč

but in here https://sdw.ecb.europa.eu/curConverter.do?sourceAmount=99.0&sourceCurrency=EUR&targetCurrency=CZK&inputDate=14-10-2018&submitConvert.x=71&submitConvert.y=4 

is difficulty . why ?


thanks




GJC Web Design

you need to do a bit of digging to find out why .. is the cached rates updating when u change currency ?
Isn't only if the cached rate is more than 6 hours old?
when is the cached rate saved?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

roman5527

Thnaks GJC Web Design for your answer but i dont know how and where i to explore what is wrong

Can you help me with this problem ?

thanks


GJC Web Design

It appears you have a succession of problems with your install - if u haven't got the skills to debug and fix you need to employ someone who has.
No one can know what is wrong in these obscure cases without intervention in your site ...  and that is way beyond free advice on a help forum - these problems do not exist on a clean fresh standard install with a stand template
That should be your starting point
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation