PHP Magento Tips

How to Add Currency Selector to Magento Header

Rate this posting:
{[['']]}

Since Magento has built in functionality for currencies, it shouldn’t be too hard to create custom currency selector and put it to the header. You might say this tutorial is for beginners, since it’s pretty much straightforward.

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.

Here’s a screenshot of that tab:


Now Select Additional Currency for your store from here.

After that, you should 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. Here’s how it looks like:


And now, after that you’re done with initial setup. Now, go to frontend and you will find your Currency HTML will render from app/design/frontend/rwd/default/template/directory/currency.phtml


Tag : Magento
0 Comments On "How to Add Currency Selector to Magento Header"

Back To Top