display attende name on the user account page woocommerce

Home Forums Ticket Products Event Tickets Plus display attende name on the user account page woocommerce

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1141041
    Sallé Alexander
    Participant

    hello,

    in the new version, the users can add attendee’s names, it’s so great !
    Our client ask us if on the user’s account page, is it possible to display a list with the user’s event with the names of the attendees ?

    Because now they just have the order…

    I hope u understand my question !

    All the best,

    Alexander,

    #1141310
    Cliff
    Member

    Hi Sallé.

    Please reference our attendee meta information help article and let me know if you need any additional information to answer your question.

    #1141371
    Sallé Alexander
    Participant

    hello,

    this for the backoffice what u show but, it’s in the front office that my client would like.

    I found this thread :

    Displaying Attendee List on Front End (single event)

    but the snippet doesn’t work on the single-event.php.

    maybe its possible to have the same on “my order page”, then the user can see for who he buy a ticket…

    All the best,

    Alexander

    #1141688
    Cliff
    Member

    Hi Sallé. Thanks for linking there.

    I had one of our devs take a look at that code snippet and although it was written for our old WooTickets add-on (since replaced by Event Tickets Plus), the code should still work. However, since you’re using it in your single-event.php file, the suggestion is to add $post = get_post( $event_id ); somewhere above this line: if (is_user_logged_in() && $current_user->ID == $post->post_author) {

    Also, just so you know, that snippet will NOT show up for anyone except the post author because of the first IF conditional.

    I hope this helps. Please let me know how things go for you.

    #1141814
    Sallé Alexander
    Participant

    Hello,

    it works but its not the informations my client would like.

    I try to explain u:
    – with this snippet, we can see a list of the purchaser in the front, it’s good…

    but if the purchaser buy 3 tickets, one for albert, one for john, one for franck, how can we display these names from the “ticketfields set” ?

    U follow me ?

    Without this, the purchaser don’t know who he invited…

    Maybe the solution is to have the list of the tickets bought with the fields from the “ticketfields set”

    thanks for ur Help,

    All the best

    Alexander

    #1142179
    Cliff
    Member

    Sallé, I believe I understand what you’re asking for, but we’re limited in helping with customizations, per our Scope of Support / Terms. However, I can try to help point you in the right direction.

    You can checkout the code in one or both of these files:

    • /wp-content/plugins/event-tickets-plus/src/views/tickets-plus/orders-edit-meta.php
    • /wp-content/plugins/event-tickets-plus/src/views/tickets-plus/orders-tickets.php

    You or your developer should be able to figure out how to get what you’re wanting.

    I hope this information points you in the right direction!

    #1150592
    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 ‘display attende name on the user account page woocommerce’ is closed to new replies.