public function preDispatch()
 {
     $channel = $this->getRequest()->getParam('channel', false);
     if (!$channel) {
         Mage::helper('M2ePro/View_Common_Component')->isAmazonDefault() && $this->getRequest()->setParam('channel', Ess_M2ePro_Block_Adminhtml_Common_Log_Tabs::CHANNEL_ID_AMAZON);
         Mage::helper('M2ePro/View_Common_Component')->isBuyDefault() && $this->getRequest()->setParam('channel', Ess_M2ePro_Block_Adminhtml_Common_Log_Tabs::CHANNEL_ID_BUY);
     }
     return parent::preDispatch();
 }
Beispiel #2
0
 public function preDispatch()
 {
     parent::preDispatch();
     Mage::getSingleton('M2ePro/Order_Log_Manager')->setInitiator(Ess_M2ePro_Model_Order_Log::INITIATOR_USER);
 }
 public function preDispatch()
 {
     parent::preDispatch();
     $this->listingProductIds = Mage::helper('M2ePro/Data_Session')->getValue('buy_listing_product_ids');
 }