To do this, edit the two templates from the section adminhtml
. In sales/order/view/items.phtml
adding new <col>
and <th>
for your column. Then sales/order/view/items/renderer/default.phtml
add the appropriate <td>
field for this. Use something like this to get the value:
<td><?php print Mage::getModel("catalog/product")->load($_item->getProductId())->getCost(); ?></td>
, !
,