Home › Forums › Calendar Products › Events Calendar PRO › Additional table to Attendees
- This topic has 4 replies, 3 voices, and was last updated 10 years, 9 months ago by
Support Droid.
-
AuthorPosts
-
April 21, 2015 at 2:22 am #956960
Carl
ParticipantHey Team,
I would like to know if i would like to add an additional table in the attendees list ( admin column ) how can i achieve this ? in the child theme i have try to recreate the same folder structure as the main plugin but it does not work “tribe-events > lib > tickets > tribe-tickets-attendees.php” but within the core plugin files i can create an extra column in tribe-tickets-attendees.php.
My question is like in the attendees section you have a table for “Order #, Order Status, Purchaser Name, Purchaser email…..” here I would like to add another field “Purchaser Phone Number” this is the same metadata as purchaser email in the woocommerce, I could not figure out how did you call the metadata in the tribe-tickets-attendees.php .
Thank you for your help
April 21, 2015 at 7:15 am #957020George
ParticipantHi Carl,
This is unfortunately a somewhat-extensive code customization to write, but I recently wrote a version of this for another user over in this forum thread → https://theeventscalendar.com/support/forums/topic/add-attendee-telephone-number-to-attendee-list/
If you follow the same instructions that I gave to Erika in my first reply to her on that thread, you might find that it works well for you.
Have a look over there, back your site up, try things out, and let us know if it helps!
Cheers,
GeorgeApril 21, 2015 at 9:04 pm #957222Carl
ParticipantThank you very much George the code works perfectly, now i get the phone number below the email like the screenshot you have sent, now how do i get the information to populate when i email the table to the organiser or export the table ? when i email or export i get the email but not the phone number.
Thank you very much
Regards,
April 21, 2015 at 9:14 pm #957231George
ParticipantHey Carl,
Unfortunately, adding the data to an export file requires a significant amount of custom code – though adding it to the various emails is not as complicated a task.
To add the data to emails, you should be able to make custom versions of the following Core plugin templates in your theme:
/views/tickets/email.php
/views/tickets/attendees-email.phpYou can learn about how to do this by reading our official Themer’s Guide here → https://theeventscalendar.com/knowledgebase/themers-guide/, and use the get_post_meta() function similarly to how it’s used in the original custom code I shared with you above to pull in the relevant phone number information.
I hope that helps Carl!
July 7, 2015 at 6:31 am #984052Support 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 ‘Additional table to Attendees’ is closed to new replies.
