Support

Home Forums Event Espresso Premium Display Surcharges in CSV download

Display Surcharges in CSV download

Posted: July 27, 2021 at 11:47 pm

Viewing 3 reply threads


Mud Runner

July 27, 2021 at 11:47 pm

Hi, we’re using surcharges as a way to add “Extras” like t-shirts and booking protection within EE.

We would like to be able to display these in the CSV download.

I followed this which is similar but not quite what we’re after.

Could you let me know if this is possible?

Thanks in advance.


Mud Runner

July 27, 2021 at 11:48 pm

Sorry, forgot to include a link to the code I was looking at: https://gist.github.com/joshfeck/4b38327cd36756c8233d345ffd170376


Seth Shoultes

  • Support Staff

July 28, 2021 at 8:49 am

Hi there,

You could try replacing type_tax_sub_total on line 17 with type_line_item to get just the surcharge amount or use type_sub_line_item to get the original ticket amount plus the surcharge amount. Then, on line 25, you can change the text “Total Taxes” to something more descriptive.


Mud Runner

August 2, 2021 at 10:00 am

That worked to a certain extent, as it explodes out the prices lines with a ‘+’ in between.

We would like to eventually have each price line contained in a column with a header for each specific price line but i’m sure I can work that out based on your suggestion so thank you!

Viewing 3 reply threads

The support post ‘Display Surcharges in CSV download’ 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