Difference between revisions of "Landing Page"
Jump to navigation
Jump to search
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[[Category:How to]] | [[Category:How to]] | ||
[[Category:Booking_Page]] | [[Category:Booking_Page]] | ||
+ | [[Category:Booking_Engine]] | ||
Required skills: php, html, css | Required skills: php, html, css | ||
''This page explains to how to create a custom landing page'' | ''This page explains to how to create a custom landing page'' | ||
− | You can specify a landing page after a booking is made at SETTINGS->BOOKING | + | You can specify a landing page after a booking is made at SETTINGS-> BOOKING ENGINE -> BOOKING PAGE->BEHAVIOUR "Booking Return URL |
The guest will be redirected to your page after they book. | The guest will be redirected to your page after they book. | ||
We will include information about the booking as parameters added to your Url | We will include information about the booking as parameters added to your Url | ||
Line 10: | Line 11: | ||
The following PHP test script will display the raw data. | The following PHP test script will display the raw data. | ||
− | Use this as a starting point to create your own design. | + | Use this as a starting point to create your own design. |
+ | |||
<nowiki><?php | <nowiki><?php | ||
echo "<br>bookid=".$_GET["bookid"]; | echo "<br>bookid=".$_GET["bookid"]; |
Latest revision as of 20:09, 23 January 2020
Required skills: php, html, css
This page explains to how to create a custom landing page
You can specify a landing page after a booking is made at SETTINGS-> BOOKING ENGINE -> BOOKING PAGE->BEHAVIOUR "Booking Return URL The guest will be redirected to your page after they book. We will include information about the booking as parameters added to your Url
Using PHP or other scripting languages it is possible to process the parameters and display personalised information to the guest. The following PHP test script will display the raw data.
Use this as a starting point to create your own design.
<?php echo "<br>bookid=".$_GET["bookid"]; echo "<br>propid=".$_GET["propid"]; echo "<br>roomid=".$_GET["roomid"]; echo "<br>roomname=".urldecode($_GET["roomname"]); echo "<br>propname=".urldecode($_GET["propname"]); echo "<br>firstnight=".urldecode($_GET["firstnight"]); echo "<br>lastnight=".urldecode($_GET["lastnight"]); echo "<br>checkout=".urldecode($_GET["checkout"]); echo "<br>numnight=".urldecode($_GET["numnight"]); echo "<br>numadult=".urldecode($_GET["numadult"]); echo "<br>numchild=".urldecode($_GET["numchild"]); echo "<br>lang=".urldecode($_GET["lang"]); echo "<br>price=".urldecode($_GET["price"]); echo "<br>confirmtype=".urldecode($_GET["confirmtype"]); echo "<br>qty=".urldecode($_GET["qty"]); echo "<br>pricenum=".urldecode($_GET["pricenum"]); echo "<br>referer=".urldecode($_GET["referer"]); echo "<br>guestname=".urldecode($_GET["guestname"]); echo "<br>guestfirstname=".urldecode($_GET["guestfirstname"]); echo "<br>guestemail=".urldecode($_GET["guestemail"]); echo "<br>guestphone=".urldecode($_GET["guestphone"]); echo "<br>guestmobile=".urldecode($_GET["guestmobile"]); echo "<br>guestaddress=".urldecode($_GET["guestaddress"]); echo "<br>guestarrivaltime=".urldecode($_GET["guestarrivaltime"]); echo "<br>guestcomments=".urldecode($_GET["guestcomments"]); echo "<br>ratedesc=".urldecode($_GET["ratedesc"]); ?>