我想编辑发货地址div,地址为:admin/sales_order/view/order_id,我相信这是Magento管理员的订单详细信息页面。
我尝试过以下位置的一些文件:/app/design/adminhtml/default/default/template/sales/order/view,但一无所获。有人知道怎么做吗?感谢
您可以激活后端提示,以确保这是正确的模板:http://www.damianculotta.com.ar/2009/07/11/mostrar-phtmls-y-bloques-usados-en-el-skin-de-backend-de-magento/接下来,您应该为管理区域的后端创建一个布局更新。你可能不会在adminhtml的模板中写入,因为这在Magento更新中丢失了。您可以成为以下示例:
mage/adminhtml/etc/config.xml
<layout>
<updates>
<adminhtml>
<file>main.xml</file>
</adminhtml>
<report>
<file>report.xml</file>
</report>
<catalog>
<file>catalog.xml</file>
</catalog>
<customer>
<file>customer.xml</file>
</customer>
<promo>
<file>promo.xml</file>
</promo>
</updates>
</layout>