"Booking only and with payment" option on front end

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #7240
    Flukkini
    Participant

    Hello, is there any way to show only one of the option between “booking only and booking with payment” on the front end?
    Thank you

    #7247
    WP Travel
    Keymaster

    Hello @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!!

    #7249
    Flukkini
    Participant

    Thank 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.

    #7255
    Support Team
    Keymaster

    Hello @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/jzsxrc

    http://prntscr.com/jzsy0r

    So 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!!

    #19572
    tourist
    Participant

    The github link to the code above is broken.

    Could you please provide a new link.

    Kind regards,

    Stu

    #19579
    Support Team
    Keymaster

    Hello @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.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘WP Travel’ is closed to new topics and replies.