Trying to remove Date from Ticket Email

Home Forums Ticket Products Event Tickets Plus Trying to remove Date from Ticket Email

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1093441
    Tim
    Participant

    This might sound a little crazy, but we are trying to remove the date line from the ticket email. We have a client that sells tickets to their venue that is not date specific (they are a mini-golf course). As a result, they do not need the date of the event printed out with the ticket email. What would be the best way to accomplish this?

    #1093956
    Brian
    Keymaster

    Hi,

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

    You want to grab this file here:

    plugins/event-tickets/src/views/tickets/email.php

    Move it to your theme here:

    your-theme/tribe-events/tickets/email.php

    Following our themer’s guide:

    https://theeventscalendar.com/knowledgebase/themers-guide/

    Once there you can look to remove this coding:

    <?php if ( ! empty( $start_date ) ): ?>

    <span style="color:#0a0a0e !important"><?php echo $start_date; ?></span>

    <?php endif; ?>

    And that should take the date out.

    Cheers

    #1093994
    Tim
    Participant

    Hmmmm…my stucture looks different. My plugin is not /event-tickets/ but instead is /wootickets/. I can follow a path that looks like this (/wootickets/src/Tribe) and see a file called Email.php but do not see any code in it pertaining to the start_date. Are we talking about two different plugins here?

    #1094054
    Brian
    Keymaster

    Oh you are using the old version still.

    Event Tickets Plus is the new replacement for WooCommerce Tickets and has all the same features and new ones such as QR codes, User Meta, and Global Stock.

    You have a license for that plugin too and going forward all updates are to Event Tickets Plus and WooCommerce Tickets while supported will no longer have new features.

    We have this guide to moving to Event Tickets Plus:

    https://theeventscalendar.com/knowledgebase/moving-to-event-tickets-plus/

    Anyway using WooCommerce Tickets now that file is located here:

    plugins/the-events-calendar/vendor/tickets/src/views/tickets/email.php

    Still move it to the same spot in your theme.

    Cheers

    #1094061
    Tim
    Participant

    Ahhh…that makes more sense. Will go ahead and apply the upgrade and then follow you original instructions.

    Thanks so much for your help!

    #1094312
    Brian
    Keymaster

    You’re Welcome.

    #1100452
    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 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Trying to remove Date from Ticket Email’ is closed to new replies.