Saturday 7 July 2012

How to add Currency selector to Magento’s header

Magento ’s  Admin “System->Configuration” menu, you have “Currency Setup” tab. There You should select default site currency, and besides that, And Selected Multiple Currencies from in Allowed Currencies Drop Down.





After that you should go to menu item under “System->Manage Currency Rates”. And set rates between values you’ve chosen before. And here’s how it looks like:

And Currency Convertor define in left column .if you want show in header then make a static block .Go to your CMS> Static Block> Add New Block. Put below xml in content part
{{block type="directory/currency" name="currency" before="catalog.leftnav" template="directory/currency.phtml"}}
And Call this Staic  Block your header. And call method Is->
<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('your identifier code')->toHtml() ?>

1 comment:

Note: only a member of this blog may post a comment.