• Resolved Cathedral City Guide

    (@cathedralcityguide)


    Hi Booking.com

    It would be great if the widget could pre-fill the search field based on a specified WordPress custom field.

    For example, a page about London could have a WordPress custom field called ‘Booking’ with a value of ‘London’. The widget would pick up this value and pre-fill the search field with it.

    So a visitor reading about London would see a widget prompting them to book a hotel in London. If they were on a different page, for example a page about Rome, the widget would prompt them to book a hotel in that destination instead.

    I hope this helps – James

    https://www.ads-software.com/plugins/bookingcom-official-searchbox/

Viewing 15 replies - 1 through 15 (of 19 total)
  • Hello James

    While this is awesome to finally have an Official booking.com plugin, what you are talking about is covered by this other plugin. Not perfect but does the job for a number of use cases.

    Cheers
    Greg

    I absolutely need this same feature!

    Plugin Author SP – Booking.com

    (@sp-bookingcom)

    Hi James and Francesco,

    thanks for contacting us and for your feedback: this is something interesting we’ll look into.

    Stay tuned with the updates as more features will be added to the plugin.

    Regards

    Plugin Author SP – Booking.com

    (@sp-bookingcom)

    Hi James and Francesco,

    your suggestions are now in the new plugin version 1.3.

    We hope you’ll enjoy.

    Thanks

    Thank you!

    your suggestions are now in the new plugin version 1.3

    the suggestion was:
    For example, a page about London could have a WordPress custom field called ‘Booking’ with a value of ‘London’. The widget would pick up this value and pre-fill the search field with it.

    I can’t find out how I have to realize this.

    Plugin Author SP – Booking.com

    (@sp-bookingcom)

    Hi ItaliAdesso,

    maybe this can help you: https://www.ads-software.com/support/topic/how-to-insert-the-search-box-just-in-one-post?replies=5

    Let us know if it solves.

    It doesn’t really work yet, but first I have another “problem”
    how can I activate the plugin for customposttypes?

    Plugin Author SP – Booking.com

    (@sp-bookingcom)

    Hi ItaliAdesso,

    actually there is no support for custom post types.

    Sorry

    For anyone who has the same problem: there is an work-around. Install the plugin “Post Type Switcher”. Then you have the possibility to switch your custom post to a normal post, you can fill in the destination and switch back…

    In the example-view there is no border around the Booking.com logo, but in the real version there is. I dislike that, is ther a possibilty to change that.

    Another question (I am working hard on the implementation on https://www.italiadesso.nl).
    We are specialized into a certain part of North Italy, the Valle Brembana. This region has not an own id yet, is it possible to create?
    If not, I want “provincia di bergamo, itali?” as destination, but the system doesn’t recognize it right and give the results for the city of Bergamo. When I fill in “provincia di bergamo, itali?” directly in booking.com it works well.

    Plugin Author SP – Booking.com

    (@sp-bookingcom)

    Hi ItaliAdesso,

    thanks for sharing your tip in first of these last posts !

    Regarding the button border: you can give same colour to border and background ( this is default behaviour ), so it will not be visible. Maybe in live version there is some theme style overriding button border style.

    This can be easily fixed firing button style like:

    #flexi_searchbox #b_searchboxInc .b_submitButton_wrapper .b_submitButton {
    border-color: your-colour !important;
    }

    Then let’s go to region request: actually there is a dest_id for Provincia di Bergamo, which is : 5089

    so using Dest type = region and Dest ID = 5089 in search box setting will work as on Booking.com site !

    You can always check dest id and dest type in Partner Centre.

    Thanks for contacting us and enjoy our plugin !

    This can be easily fixed firing button style like:
    mmmm it doesn’t really work it is nog the submitutton but the booking.com logo. I tried to fix in my own style.css and also in the bos_searchbox.css. Can you give me advise?

    region request:

    I did find the destination id but it is not what I meant:

    I want to show all the hotels etc in the region provincia di bergamo, so I think it should be destination = provincia di bergamo (when I put this on the booking.com directly into the I have the same problem, but Iám not sure either you are working or booking.com yourself.

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Suggestion – pre-fill the search field based on WordPress custom field’ is closed to new replies.