"you'll receive your tickets in another mail"

Home Forums Ticket Products Event Tickets Plus "you'll receive your tickets in another mail"

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1209360
    Math
    Participant

    Hi

    How do i remove the “you’ll receive your tickets in another mail” message? it appears on every email including cancelled or refund emails sent to ticket buyers.

    Please video below

    http://www.screencast.com/t/bCgaRbEe1cFt

    #1209607
    Cliff
    Member

    Hi, Math.

    If you’re using WooCommerce, the appropriate filter to use is wootickets_email_message

    This code comes from /wp-content/plugins/event-tickets-plus/src/Tribe/Commerce/WooCommerce/Main.php

    apply_filters( 'wootickets_email_message', esc_html__( "You'll receive your tickets in another email.", 'event-tickets-plus' )

    Please reference the code at the end of this article: https://theeventscalendar.com/knowledgebase/change-the-wording-of-any-bit-of-text-or-string/

    Please let me know if you have any follow-up questions on this topic.

    #1210460
    Math
    Participant

    Hi Cliff

    I’m sorry but i don’t get what i need to do here.

    #1211472
    Cliff
    Member

    There are 2 ways to totally change the text, either to nothing (what you said you wanted) or to something custom:

    1) use the wootickets_email_message filter. This code snippet should do just what you want:

    https://gist.github.com/jesseeproductions/6a9e0674d0f2c28def03

    2) use the code snippet from the bottom of https://theeventscalendar.com/knowledgebase/change-the-wording-of-any-bit-of-text-or-string/ to use WordPress’ custom translation functionality for this string:

    "You'll receive your tickets in another email."

    ===

    Either option will require a bit of custom code — I’d recommend Option 1 (sorry I didn’t think of it in my previous reply) — and welcome to WordPress customizing!

    Best practice for adding custom code (like to implement a PHP snippet to modify The Events Calendar) is to create a functionality plugin, unless it’s something specific to your theme, in which case best practice is to make sure you’re using a child theme, then add the customization to your child theme’s functions.php file.

    I hope this information helps!

    #1211529
    Math
    Participant

    Hi Cliff

    Thanks for getting back. Hope you had an awesome holiday.

    I chose option one and it does the trick. Thanks again for great support.

    #1211821
    Cliff
    Member

    Awesome. Thanks for letting me know. Same to you! 🙂

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘"you'll receive your tickets in another mail"’ is closed to new replies.