Working solution for send tickets copy to another e-mail?

Home Forums Ticket Products Event Tickets Plus Working solution for send tickets copy to another e-mail?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1273199
    Panagiotis
    Participant

    Can i get reply with a working solution for adding a bcc to tickets send to customers or send 2 e-mails one for customer and one for our management team.

    Using latest version of WordPress, Woocommerce and Event Tickets Plus

    Thanks

    • This topic was modified 9 years ago by Panagiotis. Reason: Typo
    #1273600
    Geoff B.
    Member

    Hello again Panagiotis!

    We did have an extension that did just that, but it needs updating (as it breaks with the latest version of our plugins and the latest version of WooCommerce): tribe-ext-tickets-email-options-0-4-1

    We also have a snippet that does that for RSVP tickets: https://gist.github.com/cliffordp/4f06f95dbff364242cf54a3b5271b182

    But, at the time of writing, we do not have a working solution.
    With that in mind, it should not be too long. You will be notified as soon as it’s out.

    But, feel free to steal from that code if you are pressed for time.

    Best regards,

    Geoff B.

    #1273678
    Panagiotis
    Participant

    I understand. For now i got it working with a hardcoding way.
    Went to this file
    wp-content/plugins/event-tickets-plus/src/Tribe/Commerce/WooCommerce/Email.php
    in Line 45
    $this->send( $this->get_recipient(), $this->get_subject(), $this->get_content(), $this->get_headers(), $this->get_attachments() );
    and i added below the same line but with my desired e-mail
    $this->send( '[email protected]', $this->get_subject(), $this->get_content(), $this->get_headers(), $this->get_attachments() );
    This e-mail could easily be a variable that you can define in options and give a feature to us all even though is not the “appropriate” way.

    • This reply was modified 9 years ago by Panagiotis.
    • This reply was modified 9 years ago by Panagiotis.
    #1274239
    Geoff B.
    Member

    Good afternoon Panagiotis,

    Major props to you for finding a solution that works and for sharing it!

    As stated before, this should be coming back in extension form pretty soon, so keep an eye out: https://theeventscalendar.com/extensions/

    You are welcome back in our support forums any time 🙂

    For now, I am going to close this thread.

    Have a great week!

    Geoff B.

     

    #1278276
    Geoff B.
    Member

    Good evening Panagiotis,

    Good news. At last a snippet is out to notify organizers.

    You could apply the following snippet in the functions.php file of your theme (without the PHP tag at the top): https://gist.github.com/niconerd/16770b84adb6156aaa77948bf208bacb

    Let me know how that goes.

    Best regards,
    Geoff B.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Working solution for send tickets copy to another e-mail?’ is closed to new replies.