Bagisto Forum

    Bagisto

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

    Order confirmation send the CC email?

    General Discussion
    4
    5
    1102
    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

      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

        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
        • M
          maheshb last edited by

          @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

            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

              Hello Rahul,

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

              1 Reply Last reply Reply Quote 0
              • First post
                Last post