Jump to content

How to echo currency conversation rate in template by currency ID


Artx

Recommended Posts

You can get the conversion_rate like this:

$order->conversion_rate

 

The default currency you can get with static function:

public static function getDefaultCurrency()

so call something like: $defaultCurrency = Currency::getDefaultCurrency();

 

 

public static function getCurrencies($object = false, $active = 1)
so call something like: $listOfCurrencies = Currency::getCurrencies();
 
Hope this helps,
pascal
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...