Home › Forums › Ticket Products › Event Tickets Plus › Return path for Email
- This topic has 10 replies, 3 voices, and was last updated 10 years, 9 months ago by
Support Droid.
-
AuthorPosts
-
September 26, 2013 at 8:15 am #67822
artworkcreative
ParticipantHi,
I would like to add a return path to my Ticket so that I can assess any failed emails from the Woocommerce system. I have found the neccessary code within the Woocommerce files however can not find any reference to where the ticket is sent within the Wooticket plugin folder. Does it utilise the WooCommerce system and therefore not have its own code?
Any advice would be greatly appreciated.
Thanks,
Sam
September 30, 2013 at 4:40 pm #68467Kelly
ParticipantHi, Sam. I’m very sorry for the delay in getting back to you. Your ticket was misfiled in the forum and got lost in the shuffle. That’s probably our fault, and I definitely apologize for the delay.
The ticket email is indeed sent from within the Events Calendar/WooCommerce Tickets system. For details on how to override the default templates, please check out our Themer’s Guide, linked at right. Once there, the files you’re looking for are tickets.php and email.php.
That should get you pointed in the right direction. If you need any further guidance, just let me know!
October 1, 2013 at 3:28 am #68501artworkcreative
ParticipantHi Kelly,
No worries about shuffle.
I have looked through those files and still cant see the require code? Could you guide me to to where it is as found it under woocommerce but not under wooticket folder?
Thanks,
Sam
October 1, 2013 at 3:14 pm #68663Kelly
ParticipantHi, Sam. Thanks for your understanding.
Tickets.php lives in /wp-content/plugins/wootickets/views/wootickets/ and the two email files live in /wp-content/plugins/the-events-calendar/views/tickets. Does that help?
October 1, 2013 at 3:29 pm #68664artworkcreative
ParticipantHi Kelly,
Thank you for the quick reply, I will have look later and let you know the outcome.
Sam
October 1, 2013 at 4:03 pm #68673Kelly
ParticipantFantastic. Please let us know how it goes!
October 2, 2013 at 2:43 am #68734artworkcreative
ParticipantHi Kelly,
I looked through the files that you outlined. The ticket.php file appears to be involved in the checkout process. The other two files appear to refer to the layout of the emails and not the code that controls where the email is sent and its header data, unless I have missed something?
Thanks,
Sam
October 2, 2013 at 8:54 am #68786Kelly
ParticipantI’m sorry, Sam. I must not have understood your original question. Rereading it, I see that you’re looking to change the reply-to address for emails. Is that correct?
The WooCommerce Tickets emails are sent using the settings in the WooCommerce: Settings in the Emails tab under “Email Sender Options”. As far as I know there is not a way to configure a different Reply-to address. For more information about how to tweak that, your best bet may be to contact the Woo Ninjas directly.
I apologize again for misunderstanding you in the beginning. Please let me know if there’s anything else I can do to help!
October 3, 2013 at 1:21 am #68936artworkcreative
ParticipantHi Kelly,
Thats fine, I have added a new option within the class-wc-emails.php located in the Woo Commerce classes folder.
The code with amends:
// Send the mail
wp_mail( get_option(‘woocommerce_stock_email_recipient’), $subject, $message, $headers, $attachments, ‘-fmyemailaddress );Fingers crossed, it works 🙂
Thanks,
Sam
October 3, 2013 at 7:29 am #68975Kelly
ParticipantThat’s great to hear, Sam. Thanks for posting here so that others can know how you did it.
Is there anything else I can help you with?
July 7, 2015 at 6:29 am #981514Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘Return path for Email’ is closed to new replies.
