例如 DE , ES, FR 站下货币符号在数字后面,默认为欧元€
处理:设置\lib\Zend\Locale\Data 改 de.xml es.xml fr.xml的 currencyformat
1、取得Magento的当前货币代码 (currency code) 如 RMB, USD, JPY 等
To get Current currency code in Magento, write the following code.
<?php echo $current_currency_code = Mage::app()->getStore()->getCurrentCurrencyCode(); ?>
2、取得Magento的当前货币符号 (currency symbol) 如 ¥, $
To get Current currency symbol in magento , write the following code.
<?php echo $current_currency_symbol = Mage::app()->getLocale()->currency(Mage::app()->getStore()->getCurrentCurrencyCode())->getSymbol();?>