Home › Forums › Ticket Products › Event Tickets Plus › Add default email_from field
- This topic has 3 replies, 2 voices, and was last updated 7 years, 7 months ago by
johnskinnycook.com.
-
AuthorPosts
-
August 14, 2018 at 7:24 am #1596983
johnskinnycook.com
ParticipantIt would be nice to have a field to set the default from email address for sending tickets IE: [email protected] in the settings rather than changing .php (correct me if I am wrong or missing something).
August 15, 2018 at 9:56 am #1598198Sky
KeymasterHi there,
Thanks for reaching out. I’d be happy to help with your question.
Unfortunately, there are no settings in the admin to change the “from” field. In order to customize this, you would need to add a short snippet to your functions.php file. The exact code, however, will depend on what type of tickets these are.
Can you tell me which ecommerce solution you are using to process your ticket sales?
And would you need to do this for RSVPs also?
Thanks,
SkyAugust 15, 2018 at 4:03 pm #1598505johnskinnycook.com
ParticipantI was hoping that this would not be the answer. I am looking for a much easier admin function to take care of this.
I simply want to do what other plug-ins allow through an admin page rather than learn how to add code in the back end.I’ll throw this in the “I’ll get around to it later” bucket for the moment.
I am not selling tickets, but am registering RSVP’s for community members’ events.
I am guessing that any confirmation of registration (tickets in this case) would not be able to be sent from the registered member email either? EI: All tickets come from one email regardless of .php edits?
August 16, 2018 at 9:45 am #1599170Sky
KeymasterHi again,
You could certainly add some logic to determine the email address to use in each case, but this is a bit beyond what I could help you with here in the forums.
If you do wish to go forward with changing it to a single email for all RSVPs, here is the snippet you would use:
https://gist.github.com/skyshab/6a3e0bd6bb46ddb2556560fb8fe6ddf6
You just need to add that to your child theme’s functions.php file or to a functionality plugin, and edit the email address you would like to use.
Hope that helps! Please let me know if you have any additional questions about this.
Thanks,
SkySeptember 7, 2018 at 9:35 am #1616365Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Add default email_from field’ is closed to new replies.
