I try to implement a store switcher for switching between Store,Store View and Currency.

With using this line: Mage::getModel('core/store_group')->getCollection();

I get the Store names (3 kinds) like: store 1,store 2

Store 1 has 3 Store views (German, English and Chinese)

How can i generate the link for switching between the Stores? (Not between Store Views)

  • Mage::app()->getStore($_websiteId)->getBaseUrl(Mage_Core_Model_Store::URL_TYPE_LINK); – Mike Jun 26 '14 at 14:52
  • Please add it as an answer! – Fabian Blechschmidt Jul 27 '14 at 23:20


| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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