Magento – Display a product attribute on orders page in admin

magento-1.9order-gridproduct

I am using this custom module https://bitbucket.org/vovsky/adding-custom-product-attribute-to-quote-and-order-items-in/downloads related article https://www.atwix.com/magento/custom-product-attribute-quote-order-item/

which allows a custom attribute to be added when adding products

when this product is purchased it stores the numerical data entered in this attribute to mage_sales_flat_order

Unfortunately it doesnt show up anywhere on the order info?
How would I display this on the admin panel order summary page or on the individual order page?

Best Answer

You would need to edit the template file directly. Depending on where exactly on the order page you want it displayed, but it would be in this folder:

 app/design/adminhtml/default/default/template/sales/order/view/

The most common one is in info.phtml. You will see at the top, it instantiates the $_order object, so anywhere in the file you can just call $_order->getData('my_custom_attribute')