Home › Forums › Ticket Products › Event Tickets Plus › Trying to remove Date from Ticket Email
- This topic has 6 replies, 3 voices, and was last updated 8 years ago by Support Droid.
-
AuthorPosts
-
March 24, 2016 at 8:58 am #1093441TimParticipant
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?
March 25, 2016 at 7:26 am #1093956BrianKeymasterHi,
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
March 25, 2016 at 7:57 am #1093994TimParticipantHmmmm…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?
March 25, 2016 at 9:11 am #1094054BrianKeymasterOh 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
March 25, 2016 at 9:23 am #1094061TimParticipantAhhh…that makes more sense. Will go ahead and apply the upgrade and then follow you original instructions.
Thanks so much for your help!
March 25, 2016 at 5:34 pm #1094312BrianKeymasterYou’re Welcome.
April 9, 2016 at 9:35 am #1100452Support DroidKeymasterThis 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 ‘Trying to remove Date from Ticket Email’ is closed to new replies.