Support

Home Forums Event Espresso Premium CSV Exports EE4

CSV Exports EE4

Posted: November 28, 2022 at 10:29 am

Viewing 1 reply thread


rbschool

November 28, 2022 at 10:29 am

Is it possible to change the column headers in the CSV report? Some of them are very wordy and I have to update them before I can send the report on to the department the event is for.

Specifically I’d like to change the following:

Count of this registration… to Count
Registration’s Share of the …. to Subtotal
Transaction Amount Due to Total
Amount Paid to Paid

Is this doable without a huge amount of coding?


Tony

  • Support Staff

November 29, 2022 at 3:34 pm

Hi there,

You can ‘translate’ those string using a function like this:

https://gist.github.com/Pebblo/faef5dd32099e2ba06eee7ec733c06a9

Within the strings array you have the original string on the left and the replacement on the right, like this:

'Count of this registration in the group registration ' => 'Count',

Note that the original string must match the string exactly as it is within the code, for example, the trailing space on the above, is included in the code so must be used above.

You can add that to a custom functions plugin on your site, we have some documentation on creating one here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

Viewing 1 reply thread

The support post ‘CSV Exports EE4’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso