0

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

2

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:

vendor/magento/module-sales/view/frontend/templates/email/items/order/default.phtml

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.

vendor/magento/module-sales/view/frontend/email/

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 Sep 10 at 7:24
  • 1
    Dear Sumit, finally we got it done. It worked for us as described by you. Thank you very much! – Ben Sep 16 at 12:32

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.