示例#1
0
 private function addSessionErrorMessage(Ess_M2ePro_Model_Order $order)
 {
     $url = Mage::helper('adminhtml')->getUrl('M2ePro/adminhtml_ebay_log/order', array('order_id' => $order->getId()));
     $startLink = '<a href="' . $url . '" target="_blank">';
     $endLink = '</a>';
     $channel = $order->getComponentTitle();
     $message = Mage::helper('M2ePro')->__('Payment Status for %s Order was not updated. View %sorder log%s for more details.', $channel, $startLink, $endLink);
     Mage::getSingleton('adminhtml/session')->addError($message);
 }
 private function addSessionErrorMessage(Ess_M2ePro_Model_Order $order)
 {
     $url = Mage::helper('adminhtml')->getUrl('M2ePro/adminhtml_ebay_log/order', array('order_id' => $order->getId()));
     $channelTitle = $order->getComponentTitle();
     // M2ePro_TRANSLATIONS
     // Payment Status for %chanel_title% Order was not updated. View <a href="%url%" target="_blank">Order Log</a> for more details.
     $message = Mage::helper('M2ePro')->__('Payment Status for %chanel_title% Order was not updated.' . ' View <a href="%url%" target="_blank">Order Log</a> for more details.', $channelTitle, $url);
     Mage::getSingleton('adminhtml/session')->addError($message);
 }