Currency switcher in magento left or right sidebar


Web Development Tips WP

Need to show the drop down of currency in the sidebar ?

Below code will displays the currency drop down on left and right sidebar.
Open the directory.xml file in the layout folder (app/design/frontend/default/default/layout/directory.xml) and add the following code to it.

<default>
<!– Mage_Catalog –>
<reference name=”left”>
<block type=”directory/currency” name=”currency” before=”cart_sidebar” template=”directory/currency.phtml”/>
</reference>
<reference name=”right”>
<block type=”directory/currency” name=”currency” before=”cart_sidebar” template=”directory/currency.phtml”/>
</reference>
</default>

Comment the other node as show below

View original post 10 more words

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s