• Resolved roabe

    (@roabe)


    Hi, please, does the plugin Event Tickets plus show the date (and time) of check-in?

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Contributor Andras Guseo

    (@aguseo)

    Hi @roabe

    There is no such built-in option in Event Tickets or Event Tickets Plus, but it could be done with some custom work.

    I did this snippet a while back to do this. I don’t know if it still works, I think it should.
    https://gist.github.com/andrasguseo/f0f0c12afe56870e9f911e6858cd9c76

    Hope this helps.

    Cheers,
    Andras

    Thread Starter roabe

    (@roabe)

    Hi András,
    Thank you so much but I don’t know how to use it for the Event tickets plus. This whole code write to Snippets? There are parts for other plugins (Tribe, Wooticket).. I am a beginner, sorry.. I need to show the date of check-in in the administration when scanning the ticket QR code.
    Greetings,
    Roman

    Plugin Contributor Andras Guseo

    (@aguseo)

    What eCommerce platform are you using to sell tickets?
    WooCommerce, Easy Digital Downloads, or the built in Tribe Commerce? Or you only have RSVPs?
    A.

    Thread Starter roabe

    (@roabe)

    WooCommerce,
    thanks Roman

    Plugin Contributor Andras Guseo

    (@aguseo)

    Hi @roabe

    I created a snippet that only handles ET+ and WooCommerce.

    Copy the code in your (child) theme’s functions.php file.

    Let me know if it works.

    A.

    Thread Starter roabe

    (@roabe)

    Hi András,
    great!!! It works! Thank you very much, you really helped me! You’re great!
    Have a nice day!
    Best regards,
    Roman

    Plugin Contributor Andras Guseo

    (@aguseo)

    Stoked to hear it helped @roabe!

    A.

    Hi @aguseo ,

    Curious: does this information only show up on the attendee list?

    Plugin Contributor Andras Guseo

    (@aguseo)

    Hi @joemima

    Yes, on the backend on the attendee list.
    However, the snippet saves the check in time in the database. From that point on – with some more coding – you should be able to show that information anywhere.

    Hi @aguseo ,

    Thanks for responding.

    Can you please tell me the specific name of the database/table where I can access this information?

    Thanks in anticipation.

    Joe

    Plugin Contributor Andras Guseo

    (@aguseo)

    @joemima

    It is saved in the wp_postmeta table with the option name ‘_tribe_check_in_time’.

    This is how the save is done:
    update_post_meta( $attendee_id, '_tribe_check_in_time', date('Y-m-d H:i:s e' ) );

    This is how it is read:
    $checkin_time = get_post_meta( $order_id, '_tribe_check_in_time', true );

    Hope this helps.
    A.

    Thanks so much, @aguseo . I appreciate you! ????

    Let’s say I want to pull all the check-in/attendee data (including the check-in time) and place them on a page that stays live pulling the most current data from that table, how would I do that? Could you indulge me with the complete php code for that? I imagine this is a bit, so I understand your response either way and stay appreciative.

    Thanks

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Event Tickets plus’ is closed to new replies.