URGENT – Postal Code on Tickets

Home Forums Ticket Products Event Tickets Plus URGENT – Postal Code on Tickets

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1225129
    Russell
    Participant

    Hi

    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 ?

    #1225754
    Hunter
    Moderator

    Hey 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!

    #1225764
    Russell
    Participant

    Thanks 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 ?

    #1226095
    Russell
    Participant

    I have tried both versions of venue_zip but nothing is working.

    Please advise on what I need to change and where please.

    Many thanks.

    #1226432
    Hunter
    Moderator

    Hello, 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!

    #1226679
    Gergana
    Participant

    Are 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

    e. [email protected]

    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).

    #1227272
    Hunter
    Moderator

    Changes 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!

    #1227376
    Russell
    Participant

    Thanks – 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

    e. [email protected]

    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).

    #1227938
    Hunter
    Moderator

    Unfortunately 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 🙂

    #1244592
    Support Droid
    Keymaster

    Hey 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

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘URGENT – Postal Code on Tickets’ is closed to new replies.