I have followed the instructions to add new fields at checkout (I am using Woocommerce).
When I add:
add_filter('evotx_checkout_additional_fields_settings','evotx_2',10,1);
function evotx_2($fields){
$fields['business'] = __('Business Name','evotx');
// you can add other fields like this similarly
return $fields;
}
It crashed my site. I absolutely need to add fields. Please advise.
- Mar 11,2020 AT 9:21PM - 6 years agoOk, I see now that I needed all of the code on the tutorial page to be added to make it work. My question now is: How do I edit the current fields? I need First Name, Middle Name, Last Name fields instead of “Full Name”
Thank you
Could you also please tell me how to add a radio button? I need to ask if each ticket holder is a member with a Yes/No radio button.
Thank you
Hello,
How do I edit the current fields? I need First Name, Middle Name, Last Name fields instead of “Full Name”
Please go to EventON > Language > ADDON: EVENT TICKETS > ADDITIONAL TICKET INFORMATION.
Could you also please tell me how to add a radio button? I need to ask if each ticket holder is a member with a Yes/No radio button.
Check this guide: https://docs.woocommerce.com/document/checkout-field-editor/#section-14. You can send us a customization job request by creating a new ticket in here and selecting Customization Request as the category.
Thank you but that doesn’t’ answer my question. I currently has Full Name, Email and Phone. I need to change Full Name to be split up into First Name, Middle Name, and Last Name. You can edit “Full Name” to say “First Name” but I can’t add the other 2 in the Language field.
Additionally, I was able to add the code as noted above which adds “Business” but that field is added to the bottom of the list of fields at checkout. SO, if I added “Middle Name” and “Last Name” with that code, it would not be in the right place, next to “First Name” if I edit the Language from “Full Name”
I hope that is more clear. Thank you.
Ah yes, sorry. Unfortunately, for this you need to customize the current code. Please check eventon-tickets/includes/class-integration-woocommerce.php:53
Ok, but unfortunately that is above my paygrade and I am not authorized to buy anymore services. Is there a way to stop using the Eventon “checkout” and only use Woo? I can edit the fields on the Woo checkout page very easily and according to the documentation Eventon was integrated but it did not detail that it did not fully integrate with the store/checkout so I am limited to the features you provide for the Eventon checkout. Unfortunately, if I can not use the traditional Woo Checkout and can’t edit the fields easily for the Eventon checkout we will be unable to use your plugin and all the add-ons we bought, not to mention all the time building it. It is mission critical. I love your calendar and really hope we can make this work. Please help
Please go to eventon-tickets/includes/class-integration-woocommerce.php and comment 54-65. Now follow https://docs.woocommerce.com/document/tutorial-customising-checkout-fields-using-actions-and-filters/