Posted: May 2, 2018 at 4:51 am
Hi there, We are organising a race. I have everything set up and working including the pricing modifier add on to take additional donations and so that runners can purchase extra tshirts etc. I would like to add a column to the registrations view and csv export to show what additional items were added at checkout so as to make it easier to manage check-ins (give people the right tshirt) and reconciliation (know what is a donation as opposed to event ticket or extra tshirt $). Can you help me figure out how to do this? Right now the only way to access this data is to go into each individual transaction one-by-one. Another option would be to pass stripe the order details so we can look at the records there. Right now Stripe just has a record of the total $ amount paid, not what it was for in terms of line items. Thanks so much for your help! |
|
Hi there, We don’t currently have a ‘Price Modifier add-on’ for EE4 so can you confirm what this is, please? |
|
It’s a third party add-on that’s in your list of add-ons. Basically it allows you to add a pricing question to the registration. I realize it’s a third party add-on but my question applies to just wanting to add any extra data column to the registration view page and the csv export. |
|
Hi, I just heard back from Aparna, the addon developer and he is adding the feature that will show the answers in the csv in a future release. |
|
Yeah, I’ve seen that add-on. I just wanted to double check, as you may have be talking about something completely different than what I was expecting, then it gets confusing 🙂
If the price is linked with a registration question it should already be included in the CSV, however, it has been a while since I’ve seen the code for that add-on so I could be way off how he’s doing it now.
There’s a filter to allow you to add additional columns:
Which is passed an array of columns and the current screen. Then a filter to allow you to insert the value into that volumn:
Which is passed the current related object and the screen. Which means you can do something like this: https://gist.github.com/Pebblo/88f2a0a9213c716e4886a249e7709245 |
|
The support post ‘Add additional items to registrations page view and csv?’ 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.