2

I'm working on a groupon like website and there is a frontend merchant dashboard to insert deals. I need to show, in the frontend dashboard, this multiselect from the backend. It just uses store views

enter image description here

1 Answer 1

2

The Magento Adminhtml module already has a model that can return an array with dropdown values as used in the System > Configuration section.

Check the Mage_Adminhtml_Model_System_Store class.

Mage::getSingleton('adminhtml/system_store')->getStoreValuesForForm(false, true)

Should provide you with what you need

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.