Reputation: 1
How can I send order details in my custom mail template. I have tried
{{layout handle="sales_email_order_items" order=$order}}
in my template. I have replaced var order
with $order
(loaded order with increment id).
The generated email is displaying the billing address but not the order details.
Upvotes: 0
Views: 1814
Reputation: 874
The best way is to go log in Admin Panel of Magento. Go to System -> Transaction Emails. Load the new order template and make changes there instead of custom email template for new order.
Upvotes: 1