I am experimenting with Commerce 2 and it is amazing, however one thing that I am unable to resolve customizing store e-mails? The default confirmation is not adequate and should be easy to customize using tokens or whatever like drupal core email messages. Can anybody provide a high level overview how to customize the order summary e-mail? Any tips will be greatly appreciated not only by myself, but certainly many other site builders who are stumped over this.
Order receipt emails are powered by Twig templates, just like regular pages. This helps us avoid the inflexibility of tokens and their lack of conditional support ("Only show the Shipping information heading if the token has data"), which were big problems for D7 sites.
You can override the commerce-order-receipt.twig.html template in your theme to customize it.
The docs page is obviously still a work in progress (as in, it's stubbed but has no real content at https://docs.drupalcommerce.org/commerce2/developer-guide/orders/customize-order-receipt-emails), but the basic idea is we depend on Swiftmailer for sending HTML e-mails and expect developers to override the default e-mail template we provide. Keep an eye on those docs, as we'll be fleshing them out during DrupalCon week. If you end up with a successful customization, would love to see a blog post about it that we can share with others! : )
This is the link which you can follow => https://docs.drupalcommerce.org/commerce2/developer-guide/orders/customize-order-receipt-emails
Another solution is to copy the default twig from => commerce/modules/order/templates/commerce-order-receipt.html.twig and then placed into root theme folder of your Drupal 8 project => your_project_name/themes/your_current_theme/templates/(place the default file here)
make the changes as per your requirements. I hope this will work for you guys have a nice day :).