Make Your Own Booking Widget: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
[[Category:How to]] | [[Category:How to]] | ||
[[Category:Developers]] | [[Category:Developers]] | ||
__TOC__ | |||
''This page explains how to create your own booking widget'' | ''This page explains how to create your own booking widget'' | ||
'''Requires:''' Basic understanding of HTML | '''Requires:''' Basic understanding of HTML | ||
| Line 16: | Line 16: | ||
Modify to suit and paste the samples into your web page. | Modify to suit and paste the samples into your web page. | ||
== Create a Widget == | |||
'''Create a Form''' | '''Create a Form''' | ||
| Line 255: | Line 256: | ||
[[Image:Custom-Widget5.png|600px|link=]] | [[Image:Custom-Widget5.png|600px|link=]] | ||
[[Media:Custom-Widget5.png|view large]] | [[Media:Custom-Widget5.png|view large]] | ||
== Create a booking form for a preselected room and dates == | |||
Create a URL like this: | |||
https://www.beds24.com/booking2.php?propid=13434&checkin_hide=2016-11-24&numnight=2&numadult=1&br1-32906=Book | |||
You need to define: | |||
1) propid | |||
2) one of checkin or checkin_hide (different date formats) | |||
3) one of checkout, checkout_hide or numnight | |||
4) numadult and/or numchild | |||
5) br1-32906=Book where "br1 is offer 1, br2 is offer 2 etc. and 32906 is the room to book. | |||