Home › Forums › Ticket Products › Event Tickets Plus › display attende name on the user account page woocommerce
- This topic has 7 replies, 4 voices, and was last updated 9 years, 8 months ago by
Sallé Alexander.
-
AuthorPosts
-
July 18, 2016 at 8:24 am #1141041
Sallé Alexander
Participanthello,
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,
July 18, 2016 at 8:30 pm #1141310Cliff
MemberHi Sallé.
Please reference our attendee meta information help article and let me know if you need any additional information to answer your question.
July 19, 2016 at 1:09 am #1141371Sallé Alexander
Participanthello,
this for the backoffice what u show but, it’s in the front office that my client would like.
I found this thread :
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
July 19, 2016 at 2:45 pm #1141688Cliff
MemberHi 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.
July 20, 2016 at 1:34 am #1141814Sallé Alexander
ParticipantHello,
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
July 20, 2016 at 3:05 pm #1142179Cliff
MemberSallé, 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!
August 11, 2016 at 9:35 am #1150592Support Droid
KeymasterThis 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 ‘display attende name on the user account page woocommerce’ is closed to new replies.
