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

Bagisto

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

Order confirmation send the CC email?

General Discussion
5
6
1.9k
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.
  • H
    hammadweb2020 last edited by 18 Jun 2019, 11:17

    Hi bagisto,

    Could you help me how to send CC email once i was confirm the order on the front-end. Currently its sending email only for customer i want to add once CC email address when the customer place the order another email address will be notify through email.

    1 Reply Last reply Reply Quote 0
    • R
      rahul last edited by 18 Jun 2019, 11:38

      Hi,

      Inside Admin Package you can find a file name called as 'NewOrderNotification.php' (path = Admin->src->Mail).
      In this file, you can see a build method, which is sending email to customers, so you can add your cc here like -

      return $this->to($this->order->customer_email, $this->order->customer_full_name)
            ->cc('demo@gmail.com')
            ->subject(trans('shop::app.mail.order.subject'))
            ->view('shop::emails.sales.new-order');
      

      Thanks
      Rahul Shukla

      1 Reply Last reply Reply Quote 0
      • 2 months later
      • M
        maheshb last edited by 12 Aug 2019, 12:19

        @rahul said in Order confirmation send the CC email?:

        ->cc('demo@gmail.com')

        Hello Rahul,

        Order notification email is not working when customer places the order. We have Marketplace package installed and have APP_DEBUG=true. Invoice email notification is working without any issue.

        Please suggest.

        1 Reply Last reply Reply Quote 0
        • P
          prateek-webkul last edited by 12 Aug 2019, 13:50

          Hello maheshb,

          Can you please tell, whether you are asking regarding marketplace package or shop order email notification. If regarding marketplace then, please generate the ticket with order id .

          To generate the ticket click on flowing link:
          https://bagisto.uvdesk.com/en/

          1 Reply Last reply Reply Quote 0
          • M
            maheshb last edited by 13 Aug 2019, 03:58

            Hello Rahul,

            Thanks for the quick response. I have raised the ticket.

            F 1 Reply Last reply 24 Jun 2025, 01:54 Reply Quote 0
            • 6 years later
            • F
              Franughes @maheshb last edited by Franughes 24 Jun 2025, 02:29 24 Jun 2025, 01:54

              @maheshb Doodle Jump
              You can add a CC email by modifying the order confirmation mail class. In OrderMail.php, use the ->cc('email@example.com') method when building the mail. Make sure it's done where the mail is dispatched after order confirmation.

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