Tag: pdf

  • Remove sku column from Magento 2 invoice and pdf

    Edit the file/vendor/magento/module-sales/Model/Order/Pdf/Items/Invoice/DefaultInvoice.php Inside function draw(), remove/comment following code: To remove the SKU header in table header, edit the file/vendor/magento/module-sales/Model/Order/Pdf/Invoice.php and copy the file vendor/magento/module-sales/view/frontend/templates/email/items/order/default.phtmlto app/design/your/theme/Magento_Sales/templates/email/items/order/default.phtmland remove the code