yes, you can create in such a way as to add below code to system.xml
<fields> <view_style translate="label"> <label>Display Settings</label> <frontend_type>multiselect</frontend_type> <source_model>yourmodule/system_config_source_view</source_model> <sort_order>40</sort_order> <show_in_default>1</show_in_default> </view_style> </fields>
create one file for the multiselect option in your module along the way
your_namespace / yourmodel / model / System / Config / Source / view.php
Add below code to your View.php
class YourNamespace_YourModule_Model_System_Config_Source_View { public function toOptionArray() { return array( array('value' => 0, 'label' => Mage::helper('adminhtml')->__('Data1')), array('value' => 1, 'label' => Mage::helper('adminhtml')->__('Data2')), array('value' => 2, 'label' => Mage::helper('adminhtml')->__('Data3')), ); } public function toArray() { return array( 0 => Mage::helper('adminhtml')->__('Data1'), 1 => Mage::helper('adminhtml')->__('Data2'), 3 => Mage::helper('adminhtml')->__('Data3'), ); } }
Also use this link for more details.
Hope this helps you.
source share