- This topic has 9 replies, 4 voices, and was last updated 4 years, 4 months ago by
Support Team.
- AuthorPosts
- February 21, 2018 at 1:36 pm #5106
laurenc
ParticipantHello!
Is there a way to change the text on the “book now” button on the booking tab/form?February 22, 2018 at 5:51 am #5133Support Team
KeymasterHello @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!!
February 22, 2018 at 12:36 pm #5177laurenc
ParticipantThank you so much!!
February 23, 2018 at 4:53 am #5183Support Team
KeymasterHello @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 !!
March 16, 2018 at 5:27 am #5569iz29
ParticipantHello 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/
March 16, 2018 at 10:29 am #5570Support Team
KeymasterHello @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/irz0hfFront end:
https://prnt.sc/irz0x1Hope this helps.
Best Regards!!
March 29, 2018 at 3:29 am #5710iz29
ParticipantHello 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.March 29, 2018 at 5:54 am #5711Support Team
KeymasterHello @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.
January 21, 2019 at 10:18 am #9640mirceacrisan
ParticipantSo, 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/
January 24, 2019 at 11:14 am #9797Support Team
KeymasterHello @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!!
- AuthorPosts
- The forum ‘WP Travel’ is closed to new topics and replies.