This customization is not available, you will have to override the checkout file in the child-theme, then use custom code to add the custom field and handle the code checkout.
Files to overwrite: template-parts/booking/checkout/information.php
Copy from main-theme and add to child-theme, then add your custom field here
Use the filter “babe_checkout_field_label” to add any custom fields to the Order admin:
add_filter(‘babe_checkout_field_label’, ‘triply_babe_checkout_field_label’, 10, 2);
function triply_babe_checkout_field_label(){
//your code
}
Use filter “babe_sanitize_checkout_vars” to check value added in checkout form.
If you can’t customize it yourself, I can help you customize it, but you’ll have to pay for this request.
-
This topic was modified 2 months, 4 weeks ago by Billy Nguyen.