Home › Forums › Ticket Products › Community Tickets › ADD TICKET PRICE TO COMMUNITY TICKETS ATTENDEE REPORTS
- This topic has 7 replies, 3 voices, and was last updated 9 years, 11 months ago by
Support Droid.
-
AuthorPosts
-
April 8, 2016 at 4:15 pm #1100293
anywherefest
ParticipantSeveral 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
AllyApril 12, 2016 at 8:32 am #1101351Nico
MemberHi 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,
NicoApril 12, 2016 at 10:51 am #1101506anywherefest
ParticipantHi 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
AllyApril 13, 2016 at 2:12 pm #1102149Nico
MemberHey 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,
NicoApril 13, 2016 at 5:27 pm #1102246anywherefest
ParticipantThanks 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?
April 13, 2016 at 10:50 pm #1102310anywherefest
ParticipantHi 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!
April 15, 2016 at 11:51 am #1103192Nico
MemberHi 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,
NicoApril 30, 2016 at 9:35 am #1109126Support 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 ‘ADD TICKET PRICE TO COMMUNITY TICKETS ATTENDEE REPORTS’ is closed to new replies.
