Home » Magento29 August 2010

Magento: Showing Store Selector / Switcher in header and footer

Here, I will show you how to show the store selector (store switcher) in header. By default, the store selector is present in footer.

Create a new phtml file (template/page/switch/stores-top.phtml) and write the following code in it :-

Add store_switcher_top block after store_language block inside header block of page.xml present around line #66 :-

Add getChildHtml(‘store_switcher_top’) below getChildHtml(‘store_language’) in template/page/html/header.phtml like below :-

That’s all. Now, you can see store selector in header and footer both.

Hope this helps. Thanks.

Magento

Get New Post by Email

Find me on

FacebookTwitterGoogle+LinkedInRSS Feed