• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

  • Register
  • Login
  • Search
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups

Mail Notification in order placement

General Discussion
2
4
465
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D
    dsharma last edited by 10 Oct 2019, 07:15

    Hello,

    When i checkout, mail goes to the user, I have seen onepagecontroller success function, but there is no mail functionality added.

    Can you tell me how does mail go to the user after checkout.

    Thankyou
    Deepak Sharma

    1 Reply Last reply Reply Quote 0
    • R
      rahul last edited by 10 Oct 2019, 07:29

      Hi @dsharma

      We have fired an event called checkout.order.save.after after successful order save and listening it to admin using below line -

      Event::listen('checkout.order.save.after', 'Webkul\Admin\Listeners\Order@sendNewOrderMail');
      

      and calling a function sendNewOrderMail and sending mail.

      Thanks

      1 Reply Last reply Reply Quote 0
      • D
        dsharma last edited by 10 Oct 2019, 09:25

        Thankyou rahul for your reply,

        you have replied

        We have fired an event called checkout.order.save.after after successful order save and listening it to admin using below line -

        Event::listen('checkout.order.save.after', 'Webkul\Admin\Listeners\Order@sendNewOrderMail');
        and calling a function sendNewOrderMail and sending mail.

        Here i wanted to ask how are you calling above mentioned function because i have already included that event

        Regards
        Deepak Sharma

        1 Reply Last reply Reply Quote 0
        • R
          rahul last edited by 10 Oct 2019, 10:09

          Hi @dsharma

          Please refer this one - https://forums.bagisto.com/topic/460/mail-notification-in-order-placement/2

          Thanks

          1 Reply Last reply Reply Quote 0
          1 out of 4
          • First post
            1/4
            Last post