Created
June 5, 2015 11:12
-
-
Save rodde177/762b54bd8dd70fd4ac10 to your computer and use it in GitHub Desktop.
Convert Currency Magento
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$baseCurrencyCode = Mage::app()->getStore()->getBaseCurrencyCode(); | |
$currentCurrencyCode = Mage::app()->getStore()->getCurrentCurrencyCode(); | |
$currencySpecificAmount = Mage::helper('directory')->currencyConvert($baseAmount, $currentCurrencyCode, $baseCurrencyCode); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment