Author Topic: Currency Selector - Automatic Exchange Rate Update?  (Read 1489 times)

kellyguru

  • Beginner
  • *
  • Posts: 24
Currency Selector - Automatic Exchange Rate Update?
« on: October 08, 2013, 16:04:39 pm »
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

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27105
  • Always on vacation
    • Jenkin Hill Internet
Re: Currency Selector - Automatic Exchange Rate Update?
« Reply #1 on: October 08, 2013, 17:40:54 pm »
Exchange rate is automatically updated by connection to the European Central Bank when needed
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

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

Currently using VM 3.4.3.9989 on Joomla 3.9.1 PHP 7.0.32
Testing VM 3.4.3.9993 on Joomla 3.9.1

kellyguru

  • Beginner
  • *
  • Posts: 24
Re: Currency Selector - Automatic Exchange Rate Update?
« Reply #2 on: October 08, 2013, 18:17:13 pm »
Is this for all of the different currencies?

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27105
  • Always on vacation
    • Jenkin Hill Internet
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

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

Currently using VM 3.4.3.9989 on Joomla 3.9.1 PHP 7.0.32
Testing VM 3.4.3.9993 on Joomla 3.9.1

kellyguru

  • Beginner
  • *
  • Posts: 24
Re: Currency Selector - Automatic Exchange Rate Update?
« Reply #4 on: October 16, 2013, 22:27:13 pm »
I do not see the Euro there.
Does that mean it is not automatically updated?

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27105
  • Always on vacation
    • Jenkin Hill Internet
Re: Currency Selector - Automatic Exchange Rate Update?
« Reply #5 on: October 16, 2013, 23:46:24 pm »
WTF. The Euro is the base price. Clearly stated on the site is the heading: Euro foreign exchange reference rates.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

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

Currently using VM 3.4.3.9989 on Joomla 3.9.1 PHP 7.0.32
Testing VM 3.4.3.9993 on Joomla 3.9.1

roman5527

  • Jr. Member
  • **
  • Posts: 136
Re: Currency Selector - Automatic Exchange Rate Update?
« Reply #6 on: October 13, 2018, 12:45:43 pm »
Hi, how often do you exchange rates?

it is automatic today ? thanks

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8588
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
Re: Currency Selector - Automatic Exchange Rate Update?
« Reply #7 on: October 13, 2018, 13:43:52 pm »
in code

$cache->setLifeTime(360); // check 4 time per day
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

roman5527

  • Jr. Member
  • **
  • Posts: 136
Re: Currency Selector - Automatic Exchange Rate Update?
« Reply #8 on: October 13, 2018, 18:20:19 pm »
Hi, thanks and where i find it ? which file ?

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8588
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
Re: Currency Selector - Automatic Exchange Rate Update?
« Reply #9 on: October 13, 2018, 19:45:05 pm »
administrator\components\com_virtuemart\plugins\currency_converter\convertECB.php
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

roman5527

  • Jr. Member
  • **
  • Posts: 136
Re: Currency Selector - Automatic Exchange Rate Update?
« Reply #10 on: October 14, 2018, 12:03:20 pm »
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

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8588
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
Re: Currency Selector - Automatic Exchange Rate Update?
« Reply #11 on: October 14, 2018, 13:51:50 pm »
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 http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

roman5527

  • Jr. Member
  • **
  • Posts: 136
Re: Currency Selector - Automatic Exchange Rate Update?
« Reply #12 on: October 14, 2018, 17:55:16 pm »
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

roman5527

  • Jr. Member
  • **
  • Posts: 136
Re: Currency Selector - Automatic Exchange Rate Update?
« Reply #13 on: October 16, 2018, 09:36:01 am »
any idea ? thanks

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8588
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
Re: Currency Selector - Automatic Exchange Rate Update?
« Reply #14 on: October 16, 2018, 11:12:23 am »
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 http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation