How i add a form in order view like this image enter image description here

on click simply record the form in a database table, the information will always be seen in the own form.

1 Answer 1


Will need to override few .php/.phtml files.

In design/adminhtml/layout/your_layout.xml

     <reference name="order_tab_info">
            <action method="setTemplate">
            <block type="your_module/adminhtml_sales_order_view_yourform" name="your_name" as="your_name" template="your_path_to_admin_template/your_form.phtml"></block>

Now, you can call $this->getChildHtml('your_name') in your_path_to_admin_template/info.phtml file, anywhere you would like to.

To call your controller action please check Mage_Adminhtml_Block_Sales_Order_View_History.php file. It will give you head start.

Hope this helps.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.