Is there anyone knows how or where to update the file for the email order notification template.
{{layout handle="sales_email_order_items" order=$order area="frontend"}}
Thank you, JM
You can update in the file :
vendor/magento/module-sales/view/frontend/templates/email/items.phtml
Or override in your custom module :
app\design\frontend\our-template\default\layout\sales.xml
app\design\frontend\our-template\default\template\sales\order\items.phtml
You can find all emails template in the folder path :
vendor/magento/module-sales/view/frontend/email/
And for the item of order email template :
vendor/magento/module-sales/view/frontend/templates/email/items/order/default.phtml
New Magento (2.4.3-p2 in this moment) requires following update in the email template, to show order line items in the Order Confirmation email:
From:
{{layout handle="sales_email_order_items" order=$order area="frontend"}}
To:
{{layout handle="sales_email_order_items" order_id=$order_id area="frontend"}}