public function __construct(array $params = array(), Ess_M2ePro_Model_Listing_Other $otherListing) { if (!is_null($otherListing->getActionConfigurator())) { $actionConfigurator = $otherListing->getActionConfigurator(); } else { $actionConfigurator = Mage::getModel('M2ePro/Ebay_Listing_Other_Action_Configurator'); } $this->otherListing = $otherListing->loadInstance($otherListing->getId()); $this->otherListing->setActionConfigurator($actionConfigurator); parent::__construct($params, $this->otherListing->getMarketplace(), $this->otherListing->getAccount(), NULL); }