I have created a site for searching nearby restaurants and order items.

After ordering I wanna send a mail "Order received" with receipt attached in mail (if possible) to the customer + a mail to the respective restaurant which is in Craft->User "New Order" + a mail to site admin contains customer info and restaurants info + what I code in email template.

All these function will be done in single click. I mean when customer click on Order Now. These all mail will sent.

I am try to search email template and tutorial but I haven't found anything.

2 Answers 2


Let me know if anything in this help document needs clarifying: https://craftcommerce.com/support/sending-an-order-confirmation-email

  • @MohitPrajapati, could you please accept Luke's answer if it solved your problem?
    – Matt Stein
    May 9, 2017 at 20:22
  • Just a heads up to anyone coming to this for Craft 3 (super annoying that ALL the docs point to v2 still), the above link no longer works, and Craft has dropped all forms of example email templates which is a bit disappointing.
    – Sk446
    Jan 13, 2021 at 14:53

It sounds to me like you need a plugin which listens for commerce_orders.onOrderComplete, fetches the restaurant in the order and sends the email to the restaurant owner. See https://craftcommerce.com/docs/events-reference#commerce_orders.onordercomplete

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.