/** * Retrieve select option values * Rewrite Rewrite for Retrieve options by Product Type attribute * * @return array */ public function getValueSelectOptions() { if (!$this->getData('value_select_options') && $this->getAttribute() == 'type_id') { $options = Mage::getSingleton('catalog/product_type')->getAllOptions(); $this->setData('value_select_options', $options); } return parent::getValueSelectOptions(); }