0

The invoice-email doesn't show the ordered items table. My template contains this code:

{{layout area="frontend" handle="sales_email_order_invoice_items" invoice=$invoice order=$order}}

However, this part is missing in the email. I tried to find the code that should generate the HTML, I think sales.xml tells me to look at the "email/order/invoice/items.phtml"-template file. But changing its content doesn't seem to have any effect.

Where should I start to fix this problem?

0

Next you can look into below files:

  1. /app/design/frontend/*YOUR_THEME */layout/sales.xml

    <sales_email_order_invoice_items>
    
     /********Check if somehow this section got modified***********/   
    
     </sales_email_order_invoice_items>
    
  2. /app/design/frontend/*YOUR_THEME */template/email/order/invoice/items.phtml

Check if this file is modified by any module. If yes try using core files. Hope this will work.

  • I have checked that's code..same as core code..but not working. – Magento2 Devloper Nov 21 '16 at 11:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.