Post by BrettMW » Wed Mar 04, 2015 4:27 am

Hi All,

I was editing the currency settings in an OpenCart installation today, and was curious as to how the 'Auto Update Currency' setting worked.

After searching the code, the only places I could find where the currency was updated was:
1. admin/controller/common/dashboard.php in the index() function.
2. admin/controller/setting/setting.php in the index() function.

The help text for the 'Auto Update Currency' setting states "Set your store to automatically update currencies daily". This must be based on an assumption that a store owner logs into the admin dashboard on a daily basis. Perhaps the help text should clarify this?

Is there a better way to do this? Perhaps store a 'last updated' setting, and check this whenever a catalog (as opposed to admin/backend) page is viewed.

Just some thoughts, would be glad of others' input.

Website | Follow us on LinkedIn

User avatar
New member


Thu Feb 19, 2015 10:03 am

Who is online

Users browsing this forum: No registered users and 5 guests