protected function _afterLoad() { parent::_afterLoad(); if ($this->getValue() === false) { $this->setDefaultMapProductColumns(); } }
/** * Process data after load */ protected function _afterLoad() { $value = $this->getValue(); if (empty($value)) { $this->setValue(array()); } else { try { parent::_afterLoad(); } catch (Exception $e) { $this->setValue(array(Mage::helper('core')->uniqHash('_') => array('customer_group_id' => Mage_Customer_Model_Group::CUST_GROUP_ALL, 'min_sale_qty' => $value))); } } }