Posted By

nico65 on 05/07/09


Tagged

magento


Versions (?)

Magento Storeview mit Flaggen


 / Published in: PHP
 

URL: http://www.magentocommerce.com/boards/viewthread/23342/

Magento Storeview über Flaggenbuttons steuern statt über Dropdown

  1. <?php if(count($this->getStores())>1): ?>
  2. <div class="box box-language">
  3. <?php foreach ($this->getStores() as $_lang): ?>
  4. <a href="<?php echo $_lang->getCurrentUrl() ?>"><img src="/skin/frontend/myTemplate/default/images/ar/<?php echo $this->htmlEscape($_lang->getName()) ?>.gif" border="0"></a>
  5. <?php endforeach; ?>
  6. </div>
  7. <?php endif; ?>

Report this snippet  

You need to login to post a comment.