Support

Home Forums Event Espresso Premium add male – female buttons to checkout page

add male – female buttons to checkout page

Posted: April 29, 2014 at 3:46 pm


Eric Mourer

April 29, 2014 at 3:46 pm

I realize I will have to change or add some PHP to some particular templates
Looking for some guidance on which templates or any help you can give me, thank you very much!

>add a male – female button selection on event checkout page
>be able to shut off male or female registration to an event
>then see a place in admin where we can view how many male and female signups for each event


Lorenzo Orlando Caum

  • Support Staff

April 29, 2014 at 4:10 pm

Hi Eric,

You can add this as a question for an existing question group. Then when you want to deactivate it, you can just remove the checkmark for that existing question group.


Lorenzo


Eric Mourer

April 29, 2014 at 4:58 pm

that is excellent, thank you
anyway to add that ‘question’ to show under ‘Filter show/hide columns’
which is top right when you are looking at event attendee list
the way you can press it and see how many men and women in an event


Dean

April 30, 2014 at 3:40 am

Hi Eric,

There isn’t a way to do that unfortunately. The custom questions don’t show in the event overview.


Eric Mourer

May 6, 2014 at 12:09 pm

Hi Dean,

what about adding a new ‘filter’ or adding some php to that template to show how many male female sign ups

so it adds a column to show that in ‘Attendee Reports’

would be it very complex to add this somehow


Dean

May 7, 2014 at 2:48 am

Hi,

Well looking at it it’s not too complicated to add in the extra column, you would need to update the table header and the rows to accommodate and then modify the datatable javascript otherwise the table will look wonky.

You would have to modify the SQL script to pull in the question data, but that wouldn’t be overly hard for an experienced PHP developer.

All this is in /wp-content/plugins/event-espresso/includes/admin-reports/event_list_attendees.php

The issue with all of this is that you will be modifying a core file. This file will get over written every time you update meaning you will have to redo the modifications.

Please note that we cannot support modified files.

If you require a developer, we have a list of recommended ones here: https://eventespresso.com/developers/event-espresso-pros/

The support post ‘add male – female buttons to checkout page’ 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