protected function _construct() { parent::_construct(); // an item must have a valid product id in order for the // reorder link to work see Mage_Sales_Model_Order::_canReorder method if (!$this->getProductId()) { $this->setProductId(Mage::getModel('catalog/product')->getIdBySku($this->getSku())); } }
protected function _construct() { parent::_construct(); list($this->_multishippingFactory) = $this->_checkTypes($this->getData('multishipping_factory') ?: Mage::helper('ebayenterprise_multishipping/factory')); }