I have a scenario where i need to be able to select magento stores like this from the system configuration section.
Add Store Multiselect to Magento System Configuration
magento-1.9multiselect-attributemultistore
magento-1.9multiselect-attributemultistore
I have a scenario where i need to be able to select magento stores like this from the system configuration section.
Best Answer
This goes in the
system.xml
under thefields
tag.Then create the source model.
For that you need a class inside your module.
app/code/[codebool]/[Namespace]/[Module]/Model/Store.php
with this code:Replace in the code above the values between
[]
with the appropriate values and you are done.