更新时间:2023-11-30 15:53:22
这是您要寻找的东西吗??
is this is what You are looking for :?
将此问题放在您在问题中提到的if
之后.
Put this after if
that You mentioned in Your question.
$fieldset->removeField('created_in');
$fieldset->addField('created_in', 'select', array(
'name' => 'created_in',
'label' => Mage::helper('adminhtml')->__('Created In'),
'id' => 'created_in',
'title' => Mage::helper('adminhtml')->__('Created In'),
'class' => 'input-select',
'style' => 'width: 80px',
'options' => array(
//Put here list of websites || stores || store views
'key_1' => 'VALUE_1',
'key_2' => 'VALUE_2'
),
), 'website_id');