ADD TICKET PRICE TO COMMUNITY TICKETS ATTENDEE REPORTS

Home Forums Ticket Products Community Tickets ADD TICKET PRICE TO COMMUNITY TICKETS ATTENDEE REPORTS

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1100293
    anywherefest
    Participant

    Several of my artists have two price tiers (FP and Concession) and therefore need to know what price ticket (or even SKU is OK) was sold in their attendee reports. Can you advise how to add that field to their front end reports for email/download/print etc.?

    I cannot wait for recurrence to have attributes etc. so I don’t have to list each type as its own product…but until then, this is my only solution.

    Thanks for the great service!

    Cheers
    Ally

    #1101351
    Nico
    Member

    Hi there Ally,

    Thanks for reaching out to us! I’ll help you here…

    Before I try to develop a snippet for this, let me see if I get you right. I do understand there’s no ticket type column in the attendees report front-end, but this column exists in the CSV export of the attendees report. This confuses me a little because you mention you need this for the report email/download/print/export… So recaping a bit:

    • Show ticket type (or SKU) column for every attendee in the report. This will also work for print.
    • Do you want to add SKU to the export and email which already have the ‘Ticket Type’ column?

    Please let me know if I’m understanding this correctly and I’ll take a look if it’s possible to craft a snippet for it,
    Best,
    Nico

    #1101506
    anywherefest
    Participant

    Hi Nico

    Thanks for your reply. Because Events Calendar Pro does not have adequate capacity for variations and recurring events I have to use Ticket Type to define the date and time of each event. We are a festival so it takes place annually over seventeen days with 420 events with differing dates/times/ACTUAL ticket types- i.e. standard, concession, family etc.). It’s certainly not perfect but I have no other way around until the promised variations comes to fruition!

    That said, it means that the actual TYPE of ticket is defined in the ticket details area or is reflected in the price of the ticket.

    I would like the price of the ticket to show in BOTH the online report and the various downloads (print/email/download).

    I’d also like it noted that ALL attendee details are shown in only the FIRST date of an event, not under each event date as would be logical. It means my producers get very confused when they go looking for their ticket sales. It also means they have to download and sort by date when generating door lists which is a pain.

    Cheers
    Ally

    #1102149
    Nico
    Member

    Hey Ally,

    Thanks for clarifying!

    I would like the price of the ticket to show in BOTH the online report and the various downloads (print/email/download).

    I’ll give this snippet a shot and let you know about it!

    I’d also like it noted that ALL attendee details are shown in only the FIRST date of an event, not under each event date as would be logical.

    Can you send a screenshot of what you mean? I’m not 100% sure about how this looks in your site.

    I’ll send a heads up about this tomorrow…

    Thanks,
    Nico

    #1102246
    anywherefest
    Participant

    Thanks so much Nico- you guys are wonderful. The snippet would be great.

    The second item is a real doozy and has been a problem for me in both the backend and in the community tickets reporting. I don’t know if I am doing something wrong (likely) in set-up but all attendees and sales are in the first instance of each event ONLY. All the other dates are redundant and only confuse my producers who think they’ve sold nothing!

    A quick fix would be to remove all other dates from their reports so only that first date, with all sales is shown (and would be best in the short term). But moving forward I’d love to see all dates populated with correct product sales details…

    Screen shots here: anywherefest.com/CommunityTicketReports.pdf (hope it makes sense!)

    Another issue I’ve found is when you uncheck Community > Edit their submissions they are still able to access and edit them. In turn, this then resets all ticket capacity (even if they’ve made no change to capacity) reset to zero (0). They tinker with the text and it means admin has to go in to restore product capacity! Can that check box be looked at too?

    #1102310
    anywherefest
    Participant

    Hi Nico

    Just following on from above- best fix at this stage (given no variations on recurring event tickets) would be not to show all the performance dates just the first recurrence with all the ticket info (with price/type!) so then producers could check-in patrons or sort by date when they download.

    Can you advise how I can hide recurrences in the community tickets dashboard?

    Thanks!

    #1103192
    Nico
    Member

    Hi Alex,

    Thanks for clarifying and for sending the screenshots!

    Skip recurrences in Community Event List

    So to get rid of recurrences in the Community list, you’ll need to override the community events list template (located at wp-content/plugins/the-events-calendar-community-events/src/views/community/event-list.php). You can read about template overrides in our themer’s guide. Once you have the copy of the template in your theme (or child theme), go ahead and add the following line:


    // line 115
    while ( $events->have_posts() ) {
    $e = $events->next_post();
    $post = $e;

    /* add the following line to skip instances of recurring events */
    if ( $post->post_parent > 0 ) continue;

    ?>

    <tr>

    <td><?php echo Tribe__Events__Community__Main::instance()->getEventStatusIcon( $post->post_status ); ?></td>
    <td>

    I’ve added some context before and after the line so you could identify the part of the template you need to work on.

    Add price to tickets in Attendees Report

    Regarding showing the ticket price in the attendees report, this can be achieved by adding the following snippet to your theme functions.php:


    /**
    * Add price to ticket in attendees report
    */
    function ct_add_price ( $item ) {
    $product = wc_get_product ($item['product_id']);
    echo 'Price: $' . $product->price;
    }

    add_action( 'event_tickets_attendees_table_ticket_column', 'ct_add_price' );

    A note on recurring event tickets

    As you know this functionality is not supported by our plugin yet, so it’s likely you will encounter unexpected issues. While we are always committed to help our users, we are not able to support features that are not yet included in the plugin, or much custom code to make it work.

    Other issues

    • You mention the sales report is not showing up (I couldn’t reproduce this issue on my local install).
    • The edit issue you describe

    Can you please open up a new thread for each one so it can be addressed simultaneously by another team member?

    Please let me know if we are on track to solve your issues,
    Best,
    Nico

    #1109126
    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 8 posts - 1 through 8 (of 8 total)
  • The topic ‘ADD TICKET PRICE TO COMMUNITY TICKETS ATTENDEE REPORTS’ is closed to new replies.