1

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. Can I know which file shall I edit ( which path ) and how to make the column space out between each other? I only see the last script on my email template is :

{{layout handle="sales_email_order_items" order=$order area="frontend"}}

Please advise.

Alignment

3

you can change your html structure in following path.

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

Please refer vendor/module-sales/view/frontend/layout/sales_email_order_items.xml

Note: Don't change any thing in core, Make an copy of the file in you theme folder and do your changes i.e.,

app/design/frontend/yourtheme/Magento_Sales/templates/email/items.phtml

So that if you update the version, it will still work

  • Hi MeenakshiSundaram R, thanks. But which code shall i change? – Graphics Jul 25 '16 at 7:07
  • @Graphics to change on html element right? if yes then just copy the /vendor/magento/module-sales/view/frontend/templates/email/items.phtml and paste it in your theme folder app/design/frontend/yourtheme/Magento_Sales/template/email/items.phtml and do your changes – MeenakshiSundaram R Jul 25 '16 at 7:16
  • im not very good in programming. Can you give me an example on how to make the column space out between each other? – Graphics Jul 25 '16 at 7:23

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.