编辑 admin/sales_order/index 页面

Edit the admin/sales_order/index page

我想在 admin/sales/order 页面的订单标题下方添加图像中红色框内的订单总数。但我找不到那个页面。有人可以帮我做吗?magento admin sales order

Header 标签由 Mage_Adminhtml_Block_Sales_Order class 构造插入 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');
    }

}