You might have noticed the “Currency Setup” tab in Magento’s Administration under “System->Configuration” menu. There you should select default site currency, and besides that, all currencies you want to support.
After doing that, go to “System->Manage Currency Rates” and set rates for currencies you’ve chosen before. You can use Webservicex to import currency rates from Webservicex service.
After this, create a custom file, save it in
“YOUR_PACKAGE/YOUR_THEME/template/currency/" as currency.phtml and put this code.
<?php if($this->getCurrencyCount() > 1): ?>
<label for="custom-currency-selector"><?php echo $this->__('Your Currency:') ?></label>
<select onchange="window.location.href=this.value" name="custom-currency-selector" id="custom-currency-selector">
<?php foreach ($this->getCurrencies() as $_code => $_name): ?>
<option value="<?php echo $this->getSwitchCurrencyUrl($_code)?>"
<?php if($_code == $this->getCurrentCurrencyCode()): ?>
<?php endif; ?>>
<?php echo $_code ?>
<?php endforeach; ?>
<?php endif; ?>
Reflect these chances in magento, create a local.xml file, use this code:
<block type="directory/currency" name="custom_currency_selector" template="currency/currency.phtml"/>
Clear cache and you will get the selected currencies in dropdown box of magento header. When you select any other currency, then current value of currency will be converted into selected currency. There is no need to implement currency conversion. Magento comes with built-in currency converter. To display multiple currencies in product page, you may try this link, I had tried this earlier and it worked for me. Link: Adding new currencies in product lists page