Home › Forums › Ticket Products › Event Tickets Plus › Working solution for send tickets copy to another e-mail?
- This topic has 5 replies, 3 voices, and was last updated 9 years ago by
Geoff B..
-
AuthorPosts
-
April 23, 2017 at 3:27 am #1273199
Panagiotis
ParticipantCan 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
April 24, 2017 at 12:13 pm #1273600Geoff B.
MemberHello 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.
April 24, 2017 at 3:01 pm #1273678Panagiotis
ParticipantI 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.
April 25, 2017 at 11:07 am #1274239Geoff B.
MemberGood 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.
May 3, 2017 at 2:38 pm #1278276Geoff B.
MemberGood 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. -
This topic was modified 9 years ago by
-
AuthorPosts
- The topic ‘Working solution for send tickets copy to another e-mail?’ is closed to new replies.
