1

In my Magento Shop there are two Shops, each Shop should display its own Header image.

How can I realize this ? In Magento Backend, there is only the opportunity to enter a path to a single image.

I tried to do it with static blocks. But where to implement the logic?

1 Answer 1

2

Assuming your header image html is defined in the header of your theme I would edit app/design/frontend/yourtheme/default/template/page/html/header.phtml

Find and edit the logo html with something like the following where the logo image includes the store code.

        <!-- Logo -->
        <div class="header-center header-logo">
        <img src="/media/logo/logo-shop-<?php echo Mage::app()->getStore()->getCode() ?>.png">
        </div>

Then create your logos and save them with the corresponding store codes i.e. logo-shop-1.png, logo-shop-2.png.

1
  • But the in Magento 1.9.0.1 it seems to be this part of header.pthml <header id="header" class="page-header"> <div class="page-header-container">
    – Ben12345
    Apr 16, 2015 at 16:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.