Timeline for How to override Pdf Invoice in Magento 2?
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
S May 12, 2020 at 13:24 | history | suggested | David Duong | CC BY-SA 4.0 |
Please change position of "for" and "type"
|
May 12, 2020 at 11:54 | review | Suggested edits | |||
S May 12, 2020 at 13:24 | |||||
Jan 15, 2017 at 16:16 | comment | added | Khoa TruongDinh | @WaqasShakeel we need to learn more about Magento 2. Magento 2 is a big application. We need to spend more time to understand Magento system. The good place to start is : devdocs.magento.com | |
Jan 15, 2017 at 16:15 | comment | added | Khoa TruongDinh | We can use Plugin: devdocs.magento.com/guides/v2.1/extension-dev-guide/…. | |
Jan 15, 2017 at 16:14 | history | edited | Khoa TruongDinh | CC BY-SA 3.0 |
added 165 characters in body
|
Jan 15, 2017 at 14:08 | comment | added | Khoa TruongDinh | You know how to create a custom module in Magento 2? magento.stackexchange.com/questions/122287/… | |
Jan 15, 2017 at 14:05 | comment | added | Waqas Shakeel | I have tried with same but not working. app/code/Vendor/Module/Model/Order/Pdf/Invoice.php in this file i override the getpdf function. public function getPdf($invoices = []) { $this->_drawFooter($page); $this->_afterGetPdf(); return $pdf; } protected function _drawFooter(\Zend_Pdf_Page $page) { $this->y =70; $page->drawText("Tel: +123 456 676", 230, $this->y, 'UTF-8'); } | |
Jan 15, 2017 at 13:27 | history | answered | Khoa TruongDinh | CC BY-SA 3.0 |