- This topic has 5 replies, 2 voices, and was last updated 4 years, 9 months ago by J. Davis.
- April 23, 2018 at 4:54 pm #671412Matthew SlackParticipant
Hi, i’m having trouble with the shortcodes. For example..
[mphb_availability id=”1350″] displays the form, but returns a set of results for *all* ID’s, not just 1350. The ID of 1350 is in the URL in the results, but all accommodation types are shown.
Any ideas?April 25, 2018 at 6:38 am #671898J. DavisKeymaster
Yes, it works properly as it shows the accommodation you check availability for as first in a search (after recommended section if it is enabled).
It shows all possible variation for your guests.
JohnApril 25, 2018 at 10:52 am #671996Matthew SlackParticipant
Hi, that’s a strange way to return the results, as if you’re doing a search for one ID only, then surely the results page should just carry that ID.
Is there any way to search and return the availability of one ID only?April 26, 2018 at 12:27 pm #672527J. DavisKeymaster
You can enable direct booking option in plugin settings to check availability of certain accommodation type without going to search results page. It works either for accommodation type pages and for shortcode to check availability of certain accommodation type.
JohnApril 26, 2018 at 12:46 pm #672538Matthew SlackParticipant
Unofrtunately though , it works universally, which means it changes *all* results. That means we then cant use the results page at all should we wish to on another part of the site.
It would be better to amend the plugin to only return that one ID in the results page when requested.April 27, 2018 at 9:41 am #672879J. DavisKeymaster
General search availability form will work in the same way as before enabling direct booking and it will show all results though.
- You must be logged in to reply to this topic.