Timeline for Magento2 Overriding template with plugin for Magento\Sales\Block\Order\Invoice\Items gives error with renderer list not found
Current License: CC BY-SA 4.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 16, 2020 at 7:30 | comment | added | user59268 | @Amit Bera I agree both those solutions SHOULD be working, but neither of them do, still returns the same error. Exception #0 (RuntimeException): Renderer list for block "sales.order.invoice" is not defined | |
Mar 15, 2020 at 8:36 | comment | added | Mathanagopal S | So @Amit Bera, just out of curiosity, is there any other way to override a template other than using a plugin? I always thought the only way to do it was to override the corresponding layout file or recreating the template in the <theme_dir>. So which is recommended way to do? Would you please shed some light on that. It would be very helpful to me. Thanks in, advance. | |
Mar 15, 2020 at 8:28 | history | answered | Amit Bera♦ | CC BY-SA 4.0 |