Forum Replies Created
-
AuthorPosts
-
February 27, 2018 at 10:37 pm in reply to: Custom "add columns" function for CSV export is preventing export #1465573Penny ScaffoldParticipant
Hi,
My sincere apologies, it looks as though I got that specific function from https://stackoverflow.com/questions/45811098/woocommerce-order-and-woocommerce-custom-fields-plugin-plus-events-tickets-plus
I required this because there was not enough information to identify primary attendees without the WC information.
I am exporting the data from the Export button on the Attendees page. Is there another way I can do this to limit numbers per export so it doesn’t keep hanging?
Many thanks for your help,
Penny
Penny ScaffoldParticipantHi, thank you very much for posting this link. I’ve now had the opportunity to test the above and it is giving me Ticket data (though the Primary Information column remains blank).
It would have been really good to have seen this on the 28th January when it was posted in the other forum thread as it would have helped us a lot.
Fingers crossed for a proper fix really soon.
Many thanks,
Penny
Penny ScaffoldParticipantHi,
Can a workaround not be provided for the function I am already using to add additional columns to the CSV:
function tribe_export_custom_add_columns ( $columns ) {
$columns[‘wc_first_name’] = ‘First Name’;
$columns[‘wc_last_name’] = ‘Last Name’;
$columns[‘wc_address_1’] = ‘Address line 1’;
$columns[‘wc_address_2’] = ‘Address line 2’;
$columns[‘wc_address_city’] = ‘Address city’;
$columns[‘wc_address_state’] = ‘Address state’;
$columns[‘wc_address_postcode’] = ‘Address postcode’;
$columns[‘wc_payment’] = ‘Payment’;
$columns[‘wc_date’] = ‘Date’;
return $columns;
}The hospice I work for are getting increasingly frustrated with this issue.
Many thanks,
Penny
Penny ScaffoldParticipantHi Jaime,
Thanks for the update. Because of the tickets being in active purchase on a production site and not knowing at which point this issue was brought in and how this may affect other features/tickets already purchased/other plugins, we are not in the position to roll back.
Please can you request that a patch is looked at in the interim. The export CSV is key functionality for the plugin and one that we desperately need resolved soon.
Many thanks,
Penny
Penny ScaffoldParticipantHi,
Could you please give me an update on the issue? The hospice I work for are in desperate need of exporting a comprehensive CSV of the events we have running using Event Tickets Plus so we can import it into our CRM (which we usually do weekly and are now over a month behind).
Is there a patch I can implement until this has been fixed in a general release? As it was previously working, is there something I can add to the functions.php to reinstate the missing columns for now?
Many thanks,
Penny
Penny ScaffoldParticipantHi Jaime,
Thanks so much for letting me know. I do hope that it is resolved soon as we’re waiting on a data import and mail out to our ticket purchasers.
Many thanks,
Penny
Penny ScaffoldParticipantThis reply is private.
Penny ScaffoldParticipantHi,
Thanks so much for all your help and assistance. I’ve redone the function and it is working now, sincere apologies it must have been my error. I’ll give your colour change suggestion a go but I’m super happy and will close the ticket now, as you’ve gone over and above to help me!
Many many thanks,
Penny
Penny ScaffoldParticipantHi Andras,
Thanks for the pointers, much appreciated, however:
<?php esc_html_e( ‘Attendee Information’, ‘event-tickets-plus’ ); ?>
In render.php (line 162) is not being overridden by:
$custom_text = array(
‘Attendee Information’ => ‘Ticket Information’,
);In the functions.php file. Should this override definitely work for the tickets email?
Also the formatting of the Attendee data isn’t in email.php but in render.php (line 159)
<table class=”inner-wrapper” border=”0″ cellpadding=”0″ cellspacing=”0″ width=”620″ bgcolor=”#f7f7f7″ style=”margin:0 auto !important; width:620px; padding:0;”>
It is just called by:
<?php do_action( ‘tribe_tickets_ticket_email_ticket_bottom’, $ticket ); ?>
In email.phpSorry but can you possibly check if there’s a way to do this not editing render.php?
Many thanks for your continued assistance,
Penny
Penny ScaffoldParticipantHi Andras,
Thank you so much for all your help. Each ticket number has to be unique so I can’t use the SKU but have used a hidden field which is working well.
I’ve got it all working as I would like apart from the formatting and title of “tribe_tickets_ticket_email_ticket_bottom” in my email.php
This function is in event-tickets-plus > src > Tribe > Meta > Render.php
and calls ticket_email_meta
/**
* Inject custom meta in to tickets
* @param array $item Attendee data
*/
public function ticket_email_meta( $item )1. I wish to be able to override the title:
<?php esc_html_e( ‘Attendee Information’, ‘event-tickets-plus’ ); ?>To just say “Ticket information” Not “Attendee information”
2. I would also like to change the colour of the table from #f7f7f7 to the colour of the rest of the email that I’ve created (#F3F5F8) and add some additional padding at the bottom.
This isn’t in the list of templates in the themer’s guide so I’m not sure how to override these? I don’t want to edit the plugin files for obvious reasons.
Please can you advise?
Many thanks,
Penny
Penny ScaffoldParticipantHi,
I have thought of a possible solution
– Create an editable field called “raffle ticket number” (This is separate to the automatically assigned ticket number)
– Hide this with CSS on the shop
– Delay the ticket being sent until the order has been “completed”
– Manually add in the raffle ticket number in the back end and then mark the order as “completed” therefore generating the tickets to the customerThe only bit I could then do with help on then is how to add that “raffle ticket number” field into the ticket email – could you assist?
Many thanks!
Penny
Penny ScaffoldParticipantHi, unfortunately I’ve been informed that the ticket number needs to start after 400,000 so I was wondering if we could use the SKU as a number, e.g. 40, and add 3 trailing zeroes to the ticket email so ticket 1 would be 0001 and ticket 100 would be 0100, so ticket number would look like 40-0001 and ticket number 100 would look like 40-0100.
Would it be possible to add trailing zeroes to the ticket numbers in the emails the participants receive?
Many thanks for all your help.
Penny
Penny ScaffoldParticipantHi, thanks so much for the tips but unfortunately that won’t work in this case. We are selling other products from the shop and it is the ticket number, not the order number, that I need to control as they could purchase multiple raffle tickets in one order.
I don’t suppose you have any other suggestions in how I can influence the ticket number? Ideally I need to start it at 9001. I tried buying 9000 raffle tickets to increase the ticket number, but despite saying 9000 tickets sold it only registered as ticket number 1200 when I next purchased a ticket. I could purchase bulk amounts for free, in 500 clumps, to get up to 9000 before I start selling, then delete the ones I don’t need, but this seems like a really bad way of doing it!
Any suggestions greatly appreciated.
Thanks,
Penny
Penny ScaffoldParticipantHi Jennifer,
Thank you so much that’s worked brilliantly! Much appreciated, excellent support as always.
Thank you,
Penny
Penny ScaffoldParticipantThis reply is private.
-
AuthorPosts