My tickets page – Show users a list of events they purchased / RSVP

Home Forums Ticket Products Event Tickets Plus My tickets page – Show users a list of events they purchased / RSVP

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1103835
    Simone
    Participant

    Hi, i need to create a page and/or a widget to show the user all the events he purchased.
    Is there a shortcode to do that?

    #1104067
    Brook
    Participant

    Howdy Simone,

    That is a cool idea. We do not have a shortcode for that, however we do have a feature request for exactly such at thing. First of all if I were you I would vote on that.

    Building this will unquestionably require a programmer of moderate experience, and likely a few hours of time. Are you somewhat versed in PHP and interested in building this using our current API? It could certainly be done and I’ll give you an overview if so.

    Cheers!

    – Brook

    #1104139
    Simone
    Participant

    This reply is private.

    #1104709
    Brook
    Participant

    Excellent! Let me walk you through that then.

    You could make this a separate plugin, or even a function within your theme. It’s really up to you, whatever suits your needs best.

    For RSVPs each one is stored as a Custom Post Type in the wp_posts table. The post type is tribe_rsvp_attendees. To get a list of all events a user has RSVP’d for query every thing with that post type where the post_meta ‘_tribe_rsvp_email’ is their email. That query should get you everything needed to list their RSVPs. Deleting/cancelling an RSVP should be as simple as deleting that post with wp_delete_post() .

    For tickets the purchase history page Woo provides might already be what you’re looking for. It shows a list of all purchases and gives you options to return eligible items.

    Does that all make sense? Will that work for you? Please let me know.

    Cheers!

    – Brook

    #1110568
    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 ‘My tickets page – Show users a list of events they purchased / RSVP’ is closed to new replies.