Magento: Show Currency Selector in right sidebar

Here, I will show you how you can change the location of currency selector in Magento.

I suppose that you have already enabled/setup Multiple Currency in your Magento shop. If not then here is how to do it:- Magento: Setup multiple currency shop

By default, the currency selector is displayed in the left sidebar. Here, I will show you how you can show it in right sidebar.

Showing currency selector in product view detail page

Put the following code in layout/directory.xml


<!--
Product default layout
-->

<catalog_product_view>
	<reference name="right">
		<block type="directory/currency" name="currency" before="-" template="directory/currency.phtml"/>
	</reference>
</catalog_product_view>  

Showing currency selector in homepage

Go to Admin Panel -> CMS -> Manage Pages -> Edit Homepage

Click Custom Design tab in left sidebar

Write the following code in Layout Update XML box.


<reference name="right">
	<block type="directory/currency" name="currency" before="-" template="directory/currency.phtml"/>
</reference>

NOTE: Don’t forget to clear CACHE (System -> Cache Management) after you have made the above mentioned changes.

Hope this helps. Thanks.