Actually it work on front-end, but I can’t see it (clickable dot) on back-end!
Also, it’s actually required, but the checkout can continue without text on it.
Cheers
Replies for tickets on suppota
Actually it work on front-end, but I can’t see it (clickable dot) on back-end!
Also, it’s actually required, but the checkout can continue without text on it.
Cheers

Hi,
I did it but I can’t see the new fields on checkout tab
Here’s is the code:
add_filter(‘evotx_checkout_additional_fields_settings’,’evotx_2′,10,1);
function evotx_2($fields){
$fields[‘nomUrg’] = __(‘Contact en cas d’urgence’,’evotx’);
// you can add other fields like this similarly
return $fields;
$fields[‘numUrg’] = __(‘Téléphone en cas d’urgence’,’evotx’);
// you can add other fields like this similarly
return $fields;
$fields[‘moto’] = __(‘Marque et modèle de votre moto’,’evotx’);
// you can add other fields like this similarly
return $fields;
$fields[‘expe’] = __(‘Nombre d’années d’expérience en moto’,’evotx’);
// you can add other fields like this similarly
return $fields;
}
add_filter(‘evotx_additional_ticket_info_fields’, ‘evotx_1’, 10,1);
function evotx_1($fields){
// additonal field code block
$fields[‘nomUrg’] = array(
‘type’=>’text’,
‘label’=> evo_lang(‘Contact en cas d’urgence’),
‘required’=> true,
);
$fields[‘numUrg’] = array(
‘type’=>’text’,
‘label’=> evo_lang(‘Téléphone en cas d’urgence’),
‘required’=> true,
);
$fields[‘moto’] = array(
‘type’=>’text’,
‘label’=> evo_lang(‘Marque et modèle de votre moto’),
‘required’=> true,
);
$fields[‘expe’] = array(
‘type’=>’text’,
‘label’=> evo_lang(‘Nombre d’années d’expérience en moto’),
‘required’=> true,
);
// you can use same code block for more fields
return $fields;
}
add_filter(‘evotx_get_attendees_for_event’, ‘evotx_3’,10, 3);
function evotx_3($arr, $event_id, $_th){
if(!isset($_th[‘nomUrg’])) return $arr;
$arr[‘oD’][‘nomUrg’] = $_th[‘nomUrg’];
if(!isset($_th[‘numUrg’])) return $arr;
$arr[‘oD’][‘numUrg’] = $_th[‘numUrg’];
if(!isset($_th[‘moto’])) return $arr;
$arr[‘oD’][‘moto’] = $_th[‘moto’];
if(!isset($_th[‘expe’])) return $arr;
$arr[‘oD’][‘expe’] = $_th[‘expe’];
// the above 2 lines can be used for all other new fields
return $arr;
}
Hi i really need this to work as soon as possible, my boss is now on my case to get it completed, please let me have a time scale, thank you
Hi Kevin,
Following up with that, have you purchased the plugins?
I think I might have been public there. Here is new password:
PWR-testing456@
Hi Ben
What is your budget? As Ashish is not available right now I can do this work
https://leadingageil.org/wp-login.php
user: thunter1212@comcast.net
pw: Testing123@pwr
Testing event url if you need it: https://leadingageil.org/events/testing-event/
Please send us wp-admin access to your site as a private message for us to further assist your situation.
The arrows in the large slider are also not centered.
The problem can also be seen on the demo page.
This is from the functions.php file in case its helpful:
/**
* Add extra form fields for additional attendees (on checkout page).
*/
function leadingageil_attendees_fields() {
function leadingageil_aa_field_settings( $fields ) {
$fields[‘first_name’] = ‘First Name’;
$fields[‘last_name’] = ‘Last Name’;
$fields[‘title’] = ‘Title’;
$fields[‘organization’] = ‘Organization’;
$fields[’email_address’] = ‘Email’;
return $fields;
}
add_filter(‘evotx_checkout_additional_fields_settings’, ‘leadingageil_aa_field_settings’, 10, 1);
function leadingageil_attendee_ticket_info_fields( $fields ){
$fields[‘name’] = null; // Disable default “Full Name” field for additional attendees.
$fields[‘first_name’] = array(
‘type’ => ‘text’,
‘label’ => evo_lang(‘First Name’),
‘required’ => true
);
$fields[‘last_name’] = array(
‘type’ => ‘text’,
‘label’ => evo_lang(‘Last Name’),
‘required’ => true
);
$fields[‘title’] = array(
‘type’ => ‘text’,
‘label’ => evo_lang(‘Title’),
‘required’ => true
);
$fields[‘organization’] = array(
‘type’ => ‘text’,
‘label’ => evo_lang(‘Organization’),
‘required’ => true
);
$fields[’email_address’] = array(
‘type’ => ’email’,
‘label’ => evo_lang(‘Email Address’),
‘required’ => true
);
return $fields;
}
add_filter(‘evotx_additional_ticket_info_fields’, ‘leadingageil_attendee_ticket_info_fields’, 10, 1);
function leadingageil_get_attendees_for_event( $arr, $event_id, $_th ) {
if ( !isset( $_th[‘first_name’] ) ) return $arr;
if ( !isset( $_th[‘last_name’] ) ) return $arr;
if ( !isset( $_th[‘title’] ) ) return $arr;
if ( !isset( $_th[‘organization’] ) ) return $arr;
if ( !isset( $_th[’email_address’] ) ) return $arr;
$arr[‘oD’][‘first_name’] = $_th[‘first_name’];
$arr[‘oD’][‘last_name’] = $_th[‘last_name’];
$arr[‘oD’][‘title’] = $_th[‘title’];
$arr[‘oD’][‘organization’] = $_th[‘organization’];
$arr[‘oD’][’email_address’] = $_th[’email_address’];
return $arr;
}
add_filter(‘evotx_get_attendees_for_event’, ‘leadingageil_get_attendees_for_event’, 10, 3);
}
leadingageil_attendees_fields();
/**