Jump to content

Cron: update disabled currencies?


Recommended Posts

I need the cron to update all the currencies but apparently id does only the active ones. I tried to change all the .`active` = 1' into .`active` <= 1' in currency-related files but it didn't do anything.


Does anybody know a good solution for this, so all the currencies will be updated?

Share this post

Link to post
Share on other sites



What version of PS do you use?


Can you copy the whole definition/contents of function:


public static function getCurrencies($object = false, $active = true, $group_by = false)
and function:
public static function refreshCurrencies()
(they are located in classes/Currency.php, but I think you knew already)
(P.S. In, both active AND inactive are being refreshed, so maybe it's something else...)

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More