Customize Ticket Emails: Show State/Province

Home Forums Ticket Products Event Tickets Plus Customize Ticket Emails: Show State/Province

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #902184
    Jessica Messervey
    Participant

    Hi there,
    Just wondering if there is a variable that I can call in? Would like to be able to display the Ticket as follows:

    $venue_address; , $venue_city; , [state/province]

    #902807
    Jessica Messervey
    Participant

    I figured this out. For anyone else looking for this specific information, add:

    $venue_state = get_post_meta( $venue_id, ‘_VenueStateProvince’, true );
    after
    $venue_city = get_post_meta( $venue_id, ‘_VenueCity’, true );
    in your overriding template

    and then add
    <?php echo $venue_state; ?> where you would like the State/Province to show.

    Cheers!

    #903208
    Brian
    Keymaster

    Thanks for the information. I am sure it will be useful to someone else in their customizations.

    I am going to go ahead and close this ticket, but if you need help on this or something else please post a new ticket.

    Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Customize Ticket Emails: Show State/Province’ is closed to new replies.