我想在图像的红色框中的“管理/销售/订单”页面中的“订单”标题下添加“总计订单”。但我找不到该页面。有人可以帮助我做到这一点吗?magento admin sales order
答案 0 :(得分:0)
Header标签由Mage_Adminhtml_Block_Sales_Order类构造插入在app / code / core / Mage / Adminhtml / Block / Sales / Order.php:40:
class Mage_Adminhtml_Block_Sales_Order extends Mage_Adminhtml_Block_Widget_Grid_Container
{
public function __construct()
{
$this->_controller = 'sales_order';
$this->_headerText = Mage::helper('sales')->__('Orders');
$this->_addButtonLabel = Mage::helper('sales')->__('Create New Order');
parent::__construct();
if (!Mage::getSingleton('admin/session')->isAllowed('sales/order/actions/create')) {
$this->_removeButton('add');
}
}
public function getCreateUrl()
{
return $this->getUrl('*/sales_order_create/start');
}
}