Is there any method to call store selector inside phtml file? I found only store switcher but I need store selector multiselect options.


I ended up with simple solution.

I copied file app/design/adminhtml/default/template/sotre/switcher.phtml to my phtml file, then I just put multiple="multiple" into select tag and did some other tiny changes.

I also created own block which extends Mage_Adminhtml_Block_Store_Switcher to get a list of already selected websites.

In this way I transformed store switcher into store multi-select.

| 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.