Booking form "Book Now" button

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #5106
    laurenc
    Participant

    Hello!
    Is there a way to change the text on the “book now” button on the booking tab/form?

    #5133
    Support Team
    Keymaster

    Hello @laurenc,

    To change the text of the book now button in the booking form filed add below-given code in your child theme functions.php file.

    https://gist.github.com/anonymous/c3fb5625994a80a9c9d7d44dfe378819

    Change the text in line no:8 as per your requirement.

    Hope this helps.

    Best Regards!!

    #5177
    laurenc
    Participant

    Thank you so much!!

    #5183
    Support Team
    Keymaster

    Hello @laurenc,

    Glad we could help !!

    If you have any issues/queries further, please feel free to write back to us.

    we would also really appreciate if you could take an extra step to review our plugin at :

    https://wordpress.org/support/plugin/wp-travel/reviews/

    Best Regards !!

    #5569
    iz29
    Participant

    Hello there,
    I need the same thing
    I wanna change the book now button of even delete it
    because we want to use woocommerce for the payment section, its because our payment gateway just support woocommerce, so that’s why we want to make customer who interested in our trip, they can click on the button and redirect to woocommerce product.
    so the solution can be
    1. Add link for the BOOK NOW button to redirect to woocommerce product (it will be hard because every button will have different link)
    2. Delete book now button
    3. Change BOOK NOW to be EXPLORE (I have turn off the booking section, but BOOK NOW button is still there)

    our site : http://walkingwalking.id/itinerary/9d-8n-jiangnan-huangshan/

    #5570
    Support Team
    Keymaster

    Hello @iz29,

    To delete the Book Now button upon disabling the booking tab from the backend, use below-given CSS.

    For this go to Admin Panel > Appearance > Customize > Additional CSS and paste below given code.

    .single-itineraries button.wp-travel-booknow-btn {
        display: none;
    }

    Also, we will definitely fix this issue in coming updates.

    Now as for the query related to redirecting to Woocommerce product, the plugin actually doesnot have such feature and there is only way you could do it by placing the button in the Description tab at the backend and link the button but the process is tedious and you have to do all manually.

    But if you still want to do so then at first add the button in the text editor of description tab and wrap the button with the link of woocommerce product link.

    Screenshot:
    http://prntscr.com/irz0hf

    Front end:
    https://prnt.sc/irz0x1

    Hope this helps.

    Best Regards!!

    #5710
    iz29
    Participant

    Hello there,
    sorry for the late reply
    I have added the css code to remove the book now button.
    but that css code will make me unable to add the book now button on description
    so even I have added this code on description
    <button class=”wp-travel-booknow-btn”>Book Now</button>
    it doesn’t show the button.

    #5711
    Support Team
    Keymaster

    Hello @iz29,

    The issue has already been fixed in the latest update of the plugin.

    Please update to the latest version i.e. version 1.2.4 and verify.

    Hope this helps.

    Thank you 🙂 .

    Best Regards!!

    Have a good day.

    #9640
    mirceacrisan
    Participant

    So, I copied this code in the description of one of our tours on https://www.dracula-tours.co.uk:

    <a href="https://www.visit-transylvania.us/reservations.php"><button class="wp-travel-booknow-btn">Book Now!</button></a>

    When I did this, instead of getting the Book Now button, our photos, FAQ and the Trip Outline text disappeared. I also installed the Page Links To plugin beforehand, but the redirect I created has nothing to do with the respective tour. The problem appeared after I copied the code in the description of the tour and I pressed Save.

    This is the tour I’m talking about: https://dracula-tours.co.uk/itinerary/dracula-tour-on-halloween-romania-halloween/

    #9797
    Support Team
    Keymaster

    Hello @mirceacrisan,

    When we inspected your site URL, “Book Now” is working fine so we hope everything is fine.

    Let us know if you have any issues further.

    Thank you.

    Regards!!

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