- This topic has 5 replies, 4 voices, and was last updated 3 years, 8 months ago by
Support Team.
- AuthorPosts
- June 25, 2018 at 4:03 pm #7240
Flukkini
ParticipantHello, is there any way to show only one of the option between “booking only and booking with payment” on the front end?
Thank youJune 26, 2018 at 8:33 am #7247WP Travel Admin
KeymasterHello @flukkini,
First of all thank you very much for using the WP Travel plugin.
Now coming back to your query, if you would like to only display “Booking Only” option then disabling all the payment gateway from the Trips > Settings will only allow you to display the booking form escaping all the cart and checkout and process.
Additionally, if you would like to display only “Booking with Payment” option in final checkout page then you have to add below given code in your child theme functions.php file.
Please refer to below-given link to know how to create the child theme.
http://wptravel.io/how-to-create-a-child-theme/
After creating the child theme add below given custom code in your child theme functions.php file.
https://gist.github.com/Tiiru/f240121a065c210e06adf5f45648304a
If this is you what you are looking for then yuo can always consider hiring the professionals in order to get what you want.
To hire a developer please refer to below given link:
http://wptravel.io/hire-wordpress-customizer/
Hope this helps.
Let us know if you have any confusion further.
Thank you.
Best Regards!!
June 26, 2018 at 1:17 pm #7249Flukkini
ParticipantThank you, I modified the booking with payment code to “Booking Only” and it works.
I need this instead of disabling “payment method” as otherwise you do not serve calendar on the booking cart to customers to choose from different fixed multiple dates.Thank you again.
June 27, 2018 at 5:04 am #7255Support Team
KeymasterHello @flukkini,
If you turn off the “Fixed Departure” and enter the trip duration then you will be able to select your appropriate dates from the booking form in case of disabling all the payment option as well.
Screenshot:
http://prntscr.com/jzsxrcSo you can either use the code provided to allow booking only by going through checkout process or simpply try the method given above.
Hope this clears the confusion.
Thank you.
Regards!!
September 9, 2019 at 7:12 pm #19572tourist
ParticipantThe github link to the code above is broken.
Could you please provide a new link.
Kind regards,
Stu
September 10, 2019 at 4:21 am #19579Support Team
KeymasterHello @tourist,
Please refer to below-given link for this.
https://wptravel.io/display-booking-with-payment-option-only-in-checkout-page/
For any confusion further kindly let us know.
Thank you.
- AuthorPosts
- The forum ‘WP Travel’ is closed to new topics and replies.