Magento: Show Currency Selector in right sidebar
Here, I will show you how you can change the location of currency selector in Magento.
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>
Hope this helps. Thanks.
Related posts:
- Magento: Show Currency Selector in header
- Magento: Convert Price from Current Currency to Base Currency and vice-versa
- Magento: How to get Currency Rates?
- Magento: Setup multiple currency shop
- Magento: Showing Store Selector / Switcher in header and footer
- Magento: How to change Currency symbol by Model Override ?
- Magento: How to change Currency symbol ?
- Magento: Set/Change page layout, title tag, meta keywords and description
- Javascript: Show/Hide HTML elements
- Magento: Set title, keywords and description in your module
