Sometimes you need to add custom order totals to your Magento store. For exmple you may have added new attribute ‘total_surcharge’ as custom order total attribute. This new order total will be visible in admin sales order view and invoice view generally. But when you generate the PDF from invoice, the new order total is not visible there.
Sometimes you need to add custom block in the Order view page of Magento admin. You can use this block to show some custom information that you saved with the order. You can also show custom form to edit order information. In this article I will show you how to add Custom Block in Admin Sales Order Page in Magento.
Magento2 will be introducing some amazing new features and functionalities, empowering developers to streamline customization tasks, improve load time and more. Most significantly, it will replace Magento 1.x Mage class with dependency injection design pattern.
This post is intended to provide resourceful insight on Magento’s 2 dependency injection concept.