Jump to content

How to get the chosen currency rates in admin module


dolec

Recommended Posts

I develop module where i have input value fields in config - those are in one currency. How can i get the chosen currency and rate (php) and or save those input files in given currency so when using it later in other calculation presta knew the currency saved

 

Now i use such method to updtade the float with value

 

Configuration::updateValue($this->name.'_message', Tools::getValue('our_message'), true);

Link to comment
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...