Return path for Email

Home Forums Ticket Products Event Tickets Plus Return path for Email

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #67822
    artworkcreative
    Participant

    Hi,

    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

    #68467
    Kelly
    Participant

    Hi, 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!

    #68501
    artworkcreative
    Participant

    Hi 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

    #68663
    Kelly
    Participant

    Hi, 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?

    #68664
    artworkcreative
    Participant

    Hi Kelly,

    Thank you for the quick reply, I will have look later and let you know the outcome.

    Sam

    #68673
    Kelly
    Participant

    Fantastic. Please let us know how it goes!

    #68734
    artworkcreative
    Participant

    Hi 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

    #68786
    Kelly
    Participant

    I’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!

    #68936
    artworkcreative
    Participant

    Hi 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

    #68975
    Kelly
    Participant

    That’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?

    #981514
    Support Droid
    Keymaster

    This 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.

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Return path for Email’ is closed to new replies.