Support

Home Forums Event Espresso Premium CSV Custom Registration list download

CSV Custom Registration list download

Posted: May 13, 2019 at 11:12 am

Viewing 4 reply threads


ICLE

May 13, 2019 at 11:12 am

https://monosnap.com/file/JDmAqeTZqy9zisTgMBmiGrRJ6H0yY4
I would like to capture some of these fields into the CSV download of the registration records. What fields are they?

I am already using this pattern:
$materials_link_01 = get_post_meta( $event_id, 'materials_link_01', true );
if ( $materials_link_01 != '' ) {
$reg_csv_array[ 'materials_link_01' ] = $materials_link_01;

What are the values to use, specifically for the card type?

I would also like to use the venue_ID number instead of the text name of the venue in this CSV, what values are those?

https://gist.github.com/icle-anayltics/a0be8f5bb12c081a8524ce121af91695


Tony

  • Support Staff

May 13, 2019 at 4:43 pm

Hi there,

I would like to capture some of these fields into the CSV download of the registration records. What fields are they?

This isn’t as simple as just field_x and field_y, you’ll need to learn how to use EE’s form system and how it outputs the details, or at least follow the functions to see how they pull that info, for example using $transaction->billing_info();

It sounds like you may be at the point in which you need a developer to help as the above isn’t something we can walk through on the forums.

I would also like to use the venue_ID number instead of the text name of the venue in this CSV, what values are those?

I’m not sure I understand the question, but you can output $reg_row to the page (I recommend using Kint) to see all of the value you have available to you and work from there.


ICLE

May 16, 2019 at 7:24 am

This reply has been marked as private.


Tony

  • Support Staff

May 16, 2019 at 11:13 am

Do you have reference on how to do work with EE’s form system?

All of our developer docs can be found HERE.

Docs specifically for the forms system can be found HERE.

Is it a standard method in WordPress?

No, none of the details you are trying to pull is from WordPress itself so its EE code.

If so, what topics should I study? I intend to farm this out, but I want to understand it well enough so I can make minor changes as needed.

You can find all your need from following how $transaction->billing_info(); pulls the details, that’s the method used to pull and display those details within the EE admin so working through that to find how it all comes together is the best way to learn this.

Looking into this a little, I’m actually mistaken and it is not the forms system you need (billing_info() uses the forms system but pulls the info separately), but still, working through the above method should point you in the right direction. Also, be sure to accommodate for instances where that info isn’t available, for example, if you ever use an offsite payment method, or you’ll end up with fatal errors further down the line.

Would you all consider doing this for the $70 on account? If you might consider building this extended CSV export, what would be the cost?

Support tokens are generally not used for custom development, they are used when there is a conflict or someone wants us to work live on the site for them rather than working through the issue with us on the forums etc.

They are valid for 30mins and I doubt I could investigate and code this up in 30mins making sure to accommodate for various values from payment methods (mentioned above). You would be much better off building a relationship with a developer who can work through this and further feature requests rather than support tokens.


ICLE

May 16, 2019 at 11:16 am

Okay. Thanks. Please resolve this ticket.

Viewing 4 reply threads

The support post ‘CSV Custom Registration list 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