New answers tagged

0

Please replace your phtml <?php $_invoices = $block->getInvoiceList() ?> <?php if ($_invoices): ?> <?php foreach ($_invoices as $_invoice): ?> <div class="order-title"> <strong><?= /* @escapeNotVerified */ __('Invoice #') ?><?= /* @escapeNotVerified */ $_invoice->getIncrementId() ?></strong>...


1

So your your extension config.xml add code like this: <global> <events> <sales_order_invoice_save_after><!--<sales_order_invoice_register>--> <observers> <your_module> <!-- any unique identifier --> <class>your/observer</class> <method>...


Top 50 recent answers are included