Free and Premium WordPress Plugins & Themes Forums WordPress Plugins Hotel Booking Search Field Shortcode as Calendar
- This topic has 3 replies, 3 voices, and was last updated 4 years, 11 months ago by J. Davis.
- AuthorPosts
- September 11, 2019 at 1:08 pm #853018Byron ReesParticipant
I am trying to make the user experience of a website with only a single accommodation type more effective. The search form when clicked brings up a calendar view where the dates can be selected, however, I’d like for it to just show the calendar and that they select the check-in date and the minimum stay rule will automatically set the checkout date.
Similar to availability calendar but where it actually allows for the dates to be selected on the calandar would be great!
September 12, 2019 at 12:26 pm #853852J. DavisKeymasterHi Byron,
Yes, it is possible to hide the check-out field from search form adding the style below:
.mphb-check-out-date-wrapper{ display:none !important; }
best regards,
J. DavisNovember 21, 2019 at 5:52 pm #884541Owen FertelParticipantHi, I would also like to have this option, where they select the dates on the calendar and remove the checkout date field.
The code provided removes the checkout date field, but doesn’t show how to display the calendar, so there is no way for the guest to select their checkout date and it breaks the form.
How do I achieve this properly?January 21, 2020 at 10:12 am #907311J. DavisKeymasterHi Owen,
At the moment it is possible to select check in and check out date using 2 fields. There is not an option to select range of dates withing single calendar. Though we will keep your request in mind and let you know if we have any news.
The option that I offered can be applied for
[mphb_availability id=777]
shortcode. You will need to replace 777 with ID of your accommodation type and enable Skip Search results option at Accommodation > Settings. Thus you will be able to place a form of your property and let your guests to check availability staying on the same page and without visiting search results page.best regards,
J. Davis - AuthorPosts
- You must be logged in to reply to this topic.