I need to rewrite the code for sales/order item view in Admin which is located in here:
app/design/adminhtml/default/default/template/sales/items/column/name.phtml
i need to completely rewrite the phtml code, is there a way to this?
what i've done so far:
phtml location:
app/design/adminhtml/default/default/template/namespace/module/name.phtml
layout location:
app/design/adminhtml/default/default/layout/namespace/module/module.xml
layout code:
<?xml version="1.0" ?>
<layout>
<adminhtml_sales_order_view>
<reference name="order_items">
<action method="addColumnRender">
<column>name</column>
<block>adminhtml/sales_items_column_name</block>
<template>namespace/module/name.phtml</template>
</action>
<action method="addColumnRender">
<column>name</column>
<block>adminhtml/sales_items_column_name_grouped</block>
<template>namespace/module/name.phtml</template>
<type>grouped</type>
</action>
</reference>
</adminhtml_sales_order_view>
</layout>