i wanted to align the column for items qty and price so that they can be space out and not grouping together as it is now.

I know which file to edit, but how to "crack open" the {{layout handle="sales_email_order_items" order=$order area="frontend"}}

Does anyone know how I can align this info into a proper table?

Sales oreder

1 Answer 1


Copy vendor/magento/module-sales/view/frontend/templates/email/items.phtml file to app/design/frontend/Vendor/Theme/Magento_Sales/view/frontend/templates/email/items.phtml file and do your design changes in this file

Below file is for the item of order email template:


You can change it by copying it to your theme app/design/frontend/Vendor/Theme/Magento_Sales/view/frontend/templates/email/items/order/default.phtml

You can find all emails templates by following the below path in your Magento directory.


Reference Which file hold this layout {{layout handle="sales_email_order_items" order=$order area="frontend"}}

Hope this helps!!!

  • Have you tried this @Ben?
    – Sumit
    Commented Sep 10, 2019 at 7:24
  • 1
    Dear Sumit, finally we got it done. It worked for us as described by you. Thank you very much!
    – Ben
    Commented Sep 16, 2019 at 12:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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