Home › Forums › Ticket Products › Event Tickets Plus › URGENT – Postal Code on Tickets
- This topic has 10 replies, 5 voices, and was last updated 9 years, 2 months ago by
Russell.
-
AuthorPosts
-
January 27, 2017 at 7:21 am #1225129
Russell
ParticipantHi
How do I add the postal code underneath the venue address – it displays the address and city but now postal code. I gather I need to add a line of code in the email.php file – what is the reference for postal code ?
January 28, 2017 at 9:54 pm #1225754Hunter
ModeratorHey Russell 🙂
I hope you’re having a great weekend thus far! The zip/postal code meta is _VenueZip. If you need additional information, you can view the entire Events Calendar PRO WordPress post meta data.
Please let me know if you’re able to add the zip code into the ticket and have a great rest of your weekend. Cheers!
January 29, 2017 at 12:19 am #1225764Russell
ParticipantThanks but I am not conimnced – as you see from the email.php code, the others have a space in them like venue_city. The meta data page shows without the. Which is correct ?
Here is the code:
if ( $venue_name || ! empty( $organizers ) ) {
?>
<table class=”ticket-venue” border=”0″ cellpadding=”0″ cellspacing=”0″ width=”100%” align=”center”>
<tr>
<?php
if ( $venue_name ) {
?>
<td class=”ticket-venue” valign=”top” align=”left” width=”300″ style=”padding: 0 !important; width:300px; margin:0 !important;”><?php esc_html_e( $venue_label, ‘event-tickets’ ); ?>
<table class=”venue-details” border=”0″ cellpadding=”0″ cellspacing=”0″ width=”100%” align=”center”>
<tr>
<td class=”ticket-venue-child” valign=”top” align=”left” width=”130″ style=”padding: 0 10px 0 0 !important; width:130px; margin:0 !important;”>
<span style=”color:#0a0a0e !important; font-family: ‘Helvetica Neue’, Helvetica, sans-serif; font-size:13px; display:block; margin-bottom:5px;”><?php echo $venue_name; ?></span>
<?php echo $venue_address; ?><br />
<?php echo $venue_city; ?>***
So do I just add another line under the city with venue_zip ? Or venuezip ?
January 30, 2017 at 6:05 am #1226095Russell
ParticipantI have tried both versions of venue_zip but nothing is working.
Please advise on what I need to change and where please.
Many thanks.
January 30, 2017 at 1:40 pm #1226432Hunter
ModeratorHello, again!
Try replacing the entire contents of [your-theme]/tribe-events/tickets/email.php with the contents from this snippet.
Please let me know how it works out for you and take care!
January 31, 2017 at 12:41 am #1226679Gergana
ParticipantAre you able to advise specifically as other changes have been made to this file.
Kind Regards,
Russell Scott
[https://www.dropbox.com/s/m70ldzz5saoi1df/twitter.png?raw=1] [https://www.dropbox.com/s/y4fjimqyzf44nwh/facebook.png?raw=1] [https://www.dropbox.com/s/aggwdz7lr2ika5a/youtube.png?raw=1] [https://www.dropbox.com/s/80jhz1k45mwrv44/linkedin.png?raw=1]
Please note: I aim to respond to emails within 24hrs. For URGENT issues, please contact me by telephone.
[https://www.dropbox.com/s/wv4rhmp1ludl02e/Russel%20Scott%202.png?raw=1]
m. 07590 454606
t. 08445 67 68 96
w. http://www.russellscottentertainment.com
This message is for the named person’s use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mis-transmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Russell Scott Entertainment Limited reserve the right to monitor all e-mail communications through its networks.
[https://www.dropbox.com/s/881mnhd289z1zw0/leaf.png?raw=1] Think before you print.
Russell Scott Entertainment Limited is a company registered in England & Wales. Registered number: 07081589. Registered office: 5 Elstree Gate, Elstree Way, Borehamwood, Herts. WD6 1JD (THIS IS NOT OUR MAILING ADDRESS).
January 31, 2017 at 7:16 pm #1227272Hunter
ModeratorChanges were made starting after line 262. If you visit https://text-compare.com/, you can compare the existing contents of /event-tickets/src/views/email.php with the code from the snippet provided.
Let me know if this helps!
February 1, 2017 at 12:04 am #1227376Russell
ParticipantThanks – Is there a way of previewing the tickets without going through a dummy sale ?
Kind Regards,
Russell Scott
[https://www.dropbox.com/s/m70ldzz5saoi1df/twitter.png?raw=1] [https://www.dropbox.com/s/y4fjimqyzf44nwh/facebook.png?raw=1] [https://www.dropbox.com/s/aggwdz7lr2ika5a/youtube.png?raw=1] [https://www.dropbox.com/s/80jhz1k45mwrv44/linkedin.png?raw=1]
Please note: I aim to respond to emails within 24hrs. For URGENT issues, please contact me by telephone.
[https://www.dropbox.com/s/wv4rhmp1ludl02e/Russel%20Scott%202.png?raw=1]
m. 07590 454606
t. 08445 67 68 96
w. http://www.russellscottentertainment.com
This message is for the named person’s use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mis-transmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Russell Scott Entertainment Limited reserve the right to monitor all e-mail communications through its networks.
[https://www.dropbox.com/s/881mnhd289z1zw0/leaf.png?raw=1] Think before you print.
Russell Scott Entertainment Limited is a company registered in England & Wales. Registered number: 07081589. Registered office: 5 Elstree Gate, Elstree Way, Borehamwood, Herts. WD6 1JD (THIS IS NOT OUR MAILING ADDRESS).
February 1, 2017 at 6:06 pm #1227938Hunter
ModeratorUnfortunately you’ll need to go through the process to view the results of the changes made. Let me know how it goes and take care 🙂
February 23, 2017 at 8:35 am #1244592Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘URGENT – Postal Code on Tickets’ is closed to new replies.
