How to? Customize backend template (F.e. Sales order information)

Last modified by [m] zentrale on Fri, June 25, 2010 09:35
Source|Old Revisions  

This is an old revision of the document!


This how to exlains by a short example how developers can customize backend templates by overloading a block.

Scenario: We have collected additional data during the ceckout prozess and saved them into the order. Now we want to display these datas within the order overview in backend.

The block displaying order data is located in app/code/core/Mage/Adminhtml/Sales/Order/View/Info.php. If we take a look at this calls we see following code setting the template:

protected function _construct() {

 $this->setTemplate('sales/order/view/info.phtml');

}




 

Magento 2 GitHub Repository

Magento Job Board - Some sort of tag line goes here

Latest Posts| View all Jobs