Additional table to Attendees

Home Forums Calendar Products Events Calendar PRO Additional table to Attendees

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #956960
    Carl
    Participant

    Hey 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

    #957020
    George
    Participant

    Hi 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,
    George

    #957222
    Carl
    Participant

    Thank 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,

    #957231
    George
    Participant

    Hey 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.php

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

    #984052
    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 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Additional table to Attendees’ is closed to new replies.