- This topic has 4 replies, 2 voices, and was last updated 2 years, 10 months ago by
levelcreative.
- AuthorPosts
- June 21, 2020 at 7:54 am #27179
levelcreative
ParticipantHi,
Is there an option to eliminate the “Booking Only” option? My client doesn’t want that to be available to the customer as a deposit MUST be paid.
Also, I’ve updated my Google Map API Key and zoom level as well as the location and country. Try as I might I can’t get the map to zoom in to the location of the trip. It just shows up as a big generic zoomed out map. And when I tried to delete the map, there was an error. How do I either get the correct map location to show up or get rid of it?
Lastly, is there any way to change the format of the traveler’s DOB on the checkout form? It’s a little time consuming to have to scroll through and look for the date every single time.
Thanks.
June 22, 2020 at 6:22 am #27201wensolutions
KeymasterHello @levelcreative,
First of all, thank you very much for using the WP Travel plugin.
Please find answer to your queries below:
Is there an option to eliminate the “Booking Only” option? My client doesn’t want that to be available to the customer as a deposit MUST be paid.
Response: There is no option to manage this from the backend, however, it can be done through the custom code. For this you need to activate the child theme and to know how you can create and activate the child theme, please refer to below-given link:
https://wptravel.io/how-to-create-a-child-theme/
After activating the child theme in your child theme functions.php file add below given code:
function wp_travel_customize_booking_option($fields){ $fields['payment_fields']['booking_option']['options'] = array('booking_with_payment' => 'Booking with payment' ); return $fields; } add_filter( 'wp_travel_checkout_fields', 'wp_travel_customize_booking_option' );
Google map API Keys.
Response: Zoom Level is working fine on our side. The exact location is displayed more precisely. So please in your side test the by zooming out the location from the front end.
Also, now the issue regarding turning off the map is fixed which will be available in the next update of the plugin.
Lastly, is there any way to change the format of the traveler’s DOB on the checkout form? It’s a little time consuming to have to scroll through and look for the date every single time.
Response: No as for now it is not possible and to make it work as you want will require higher code customization. However, we will note it as the requested feature.
Hope this clears the confusion.
If you have any queries/confusion further then kindly let us know.
Thank you.
June 30, 2020 at 11:22 pm #27454levelcreative
ParticipantI created the Child Theme but when I input the code, I get this error: “Unable to communicate back with site to check for fatal errors, so the PHP change was reverted. You will need to upload your PHP file change by some other means, such as by using SFTP.” What should I do next?
July 1, 2020 at 6:42 am #27464wensolutions
KeymasterHello @levelcreative,
The issue might be related to permission. You may not be able to change directly from the backend so make the changes locally in the child theme and upload via FTP.
Let us know if that works or not?
Thank you.
July 10, 2020 at 8:35 pm #28151levelcreative
ParticipantI tried and still getting an error. Is there anything else I can try?
- AuthorPosts
- The forum ‘WP Travel Pro’ is closed to new topics and replies.