How to override the admin template file in magento?

后端 未结 4 471
萌比男神i
萌比男神i 2021-01-15 13:27

I need to override the \"adminhtml/sales/order/create/items/grid.phtml\" file to display some custom text under each item while creating new order from admin. I want this to

4条回答
  •  滥情空心
    2021-01-15 14:09

    First of all I'm not believe this is the correct way of overriding adminhtml templates. But I try this approach and it works, So just wanna share.

    Add this to your custom Module config.xml

    
            
                
                    
                        default
                        
                    
                
            
    
    

    Now You can just override by copying templates from default to mycustom app\design\adminhtml\default\default\template\sales\order\view\history.phtml app\design\adminhtml\default\mycustom\template\sales\order\view\history.phtml

提交回复
热议问题