Edits to class-wootickets.php in child theme?

Home Forums Ticket Products Event Tickets Plus Edits to class-wootickets.php in child theme?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #963164
    wplove
    Participant

    I just found a way to get rid of the “You’ll receive tickets…” wording from the receipt emails from ticket products.
    The solution was here: https://theeventscalendar.com/support/forums/topic/remove-youll-receive-your-tickets-in-another-email-from-order-email/

    However, it calls for editing classes/class-wootickets.php in the wootickets plugin folder. This works, however it will be overwritten with the next plugin update. Is there a way to keep this change in a child theme folder? I tried copying the file to my child theme folder and also putting it within a “classes” folder in my child theme but neither worked.

    #963197
    Brian
    Keymaster

    Hi,

    Thanks for using our plugins. I can help out here.

    It is not possible to move the class-wootickets.php file into your theme to edit.

    Instead try this filter in your theme’s function.php to edit that text:

    https://gist.github.com/jesseeproductions/ec0756a728a65dec0266

    You can remove the “New Text Here” text and leave the quotes to remove the message.

    Let me know how that works out.

    Thanks

    #963225
    wplove
    Participant

    Sweet. Thanks that worked.

    #963316
    Brian
    Keymaster

    Great glad it helps.

    I am going to close this ticket, but if you need anything else related to this topic or another please post a new topic on the forum and we can help you out.

    Thanks

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Edits to class-wootickets.php in child theme?’ is closed to new replies.