How to add Two Header and Two Footer for Multi-Store

I have used the same theme for my multi-store, I need to change header and footer completely for my second store.

How can add 2 headers and 2 footers for my multi-store?


1)As per magento standard, Create new theme and assign that theme to the new store(which you want to change header and footer). Now just copy headed.phtml and footer.html and past it in new theme, update those file html or CSS as you want.

2) Add magento store id or code condition for header and footer.

A) using store id:

<?php if (Mage::app()->getStore()->getId() == 'yourStoreID'){ ?>

         //Insert your HTML or JS Code Here

    <?php } else { ?>

         //insert your HTML or JS Code Here

    <?php } ?>

B) Using store code

<?php if (Mage::app()->getStore()->getCode() == 'yourStoreCode'){ ?>

     //HTML or JS Code Here

<?php } else { ?>

     //HTML or JS Code Here

<?php } ?>

Hope above solution will work for you.

Similar questions

How to change js and css order in xml file? i want add js and css in footer or last in header.?
How to change js and css order in xml file? i want add js and css in footer or last in header.? I want to change js order in product view page? i want to chanage order of this js this js added last or footer can any idea of to change order to js
Multi Store Footer Problem - HELP
I have 3 stores on my Magento installation. Each site has its own footer, with content coming from Static Blocks that are allocated to a specific Site View. This is added to the page via cms.xml. For example: This was fine until recently, when I noticed that suddenly all the sites had the same footer. I hadn't changed anything relating to the foote...
No Homepage CMS or Footer Links on second Magento Store? Multi-Domain
I recently added a second Magento Store to our base store. Main Site: Secondary Site: I believe I have configured everything correctly. Products and categories have all come across correctly. The issue I am having is: "There was no Home CMS page configured or found." on the homepage and no footer links in th...
Multi store product enabled only for (store 1) showing under (store 2) review form
I am not sure if this is a bug or something with my configuration. I have one database on one magento install running two stores. Some products are only enabled in (store 1) and these do only show up under (store 1). However through analytics I found some 404 pages that come from /review/product/list/id/nnn pages which brought to my attention, that...
Hide Current Store from link in store switch in multi store
I am facing one problem of multi-store option. Both stores are showing but I want to hide the current store and only show the other stores. These two options are showing at top left side. Store URL: Magento version If we are in Export Leftovers than only polo republica show. if we are in polo republica than only export leftover...
Magento multi store remove add to cart from one store and show on others
I have a magento multi-store website. I have three stores. I want to remove/hide the Add to cart button from one store. But the other stores should display it. Can I do this from admin panel? What is the easyest solution?

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy.