×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Roman Ignatov
Added: Nov 22, 2016 4:24 PM
Views: 5
Tags: magento
Different ways to get currency code / symbol in Magento store
  1. <?php
  2.  
  3. $currentCurrencyCode = Mage::app()->getStore()->getCurrentCurrencyCode(); // EUR
  4. $currentCurrencySymbol = Mage::app()->getLocale()->currency(Mage::app()->getStore()->getCurrentCurrencyCode())->getSymbol(); // €
  5.