Reply to: tickets(231870)

Hi Oscar,

Please clear your site cache as well as browser cache and then check if the issue persists.

If the issue persists please send in your admin access as a private message so that we can take a closer look at the issue. 

Reply to: tickets(230864)

I did a lot of tries and it said that evotox_2 function is already declared..then i found that is working..
it can be simplified?
// ADD DATA DI NASCITA CUSTOM FIELDS
add_filter(‘evotx_checkout_additional_fields_settings’,’evotx_2′,10,1);
function evotx_2($fields){
$fields[‘datanascita’] = __(‘Data Nascita’,’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[‘datanascita’] = array(
‘type’=>’text’,
‘label’=> evo_lang(‘Data Nascita’),
‘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[‘datanascita’])) return $arr;
$arr[‘oD’][‘datanascita’] = $_th[‘datanascita’];
// the above 2 lines can be used for all other new fields
return $arr;
}
// ADD NIP LICENZA CUSTOM FIELDS
add_filter(‘evotx_checkout_additional_fields_settings’,’evotx_22′,10,1);
function evotx_22($fields){
$fields[‘niplicenza’] = __(‘NIP Licenza’,’evotx’);
// you can add other fields like this similarly
return $fields;
}
add_filter(‘evotx_additional_ticket_info_fields’, ‘evotx_11’, 10,1);
function evotx_11($fields){
// additonal field code block
$fields[‘niplicenza’] = array(
‘type’=>’text’,
‘label’=> evo_lang(‘Nip Licenza’),
‘required’=> true,
);
// you can use same code block for more fields
return $fields;
}
add_filter(‘evotx_get_attendees_for_event’, ‘evotx_33’,10, 3);
function evotx_33($arr, $event_id, $_th){
if(!isset($_th[‘niplicenza’])) return $arr;
$arr[‘oD’][‘niplicenza’] = $_th[‘niplicenza’];
// the above 2 lines can be used for all other new fields
return $arr;
}
// PRINT IN CSV  CUSTOM FIELDS
add_filter(‘evotx_csv_headers’, ‘evotx_add_headers’,10,2);
function evotx_add_headers($array, $EVENT){
$array[] = ‘Data di Nascita’;
$array[] = ‘NIP/Licenza’;
return $array;
}
add_filter(‘evotx_csv_row’, ‘evotx_add_row’,10,4);
function evotx_add_row( $array, $tn, $td, $EVENT){
    $dob = [];
$dob2 = [];
    if($td[‘oD’][’email’] != ”){
        $user = get_user_by(’email’, $td[‘oD’][’email’]);
        $dob = get_user_meta($user->ID, ‘billing_Data_di_nascita’, true);
$dob2 = get_user_meta($user->ID, ‘billing_nip_licenza’, true);
    }
$array[‘datanascita’] = $dob;
$array[‘niplicenza’] = $dob2;
return $array;
}

Reply to: tickets(230864)

Ok i understand in part, but for example if i need to add the custom field: “billing_nip_licenza”

should i duplicate all the add filter functions, or there is a way to just add a line while getting the user data? like this will work?

add_filter(‘evotx_checkout_additional_fields_settings’,’evotx_2′,10,1);
function evotx_2($fields){
$fields[‘datanascita’] = __(‘Data Nascita’,’evotx’);
$fields[‘billing_nip_licenza’] = __(‘NIP Licenza’,’evotx’);
// you can add other fields like this similarly
return $fields;
}
And these two functions?
add_filter(‘evotx_additional_ticket_info_fields’, ‘evotx_1’, 10,1);
function evotx_1($fields){
// additonal field code block
$fields[‘datanascita’] = array(
‘type’=>’text’,
‘label’=> evo_lang(‘Data Nascita’),
‘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[‘datanascita’])) return $arr;
$arr[‘oD’][‘datanascita’] = $_th[‘datanascita’];
// the above 2 lines can be used for all other new fields
return $arr;
}
I understand that last 2 functions add a column and row so maybe these i must duplicate in any case..
Am i right?

Reply to: tickets(223677)

Can someone please help with this. I’ve been more than patient but another week has gone by with no action and I’m not sure where to go.

Reply to: tickets(230864)

Hey,

So u need to duplicate all that I added, but replace the titles with what else u need. And what I have used to get the date for example is the following:

  if($td[‘oD’][’email’] != ”){

        $user = get_user_by(’email’, $td[‘oD’][’email’]);

        $dob = get_user_meta($user->ID, ‘billing_Data_di_nascita’, true);

    }

so u can replace this, with any custom field you want to be into that row.

To remove columns fro the CSV, we do not have any hook available. but u can make a ticket ( a normal one ) so we can see if this can be added as a feature request! 

Reply to: tickets(231809)

Dear Ashish,

I am sorry, but I think a 100 dollar is too much money for this fix. And I think it’s really strange we pay 90 euro a year for a product that does not include simple helpdesk support.

So, no I don’t; accept and want to cancel this help request.

Best, Willemijn

 

Reply to: tickets(230220)

Any ideas on when this will be completed? I paid a week ago and have had zero communication so far. I need an update today or I will be requesting a refund.