Last week a couple of partners asked whether they could integrate their own search forms with sletoH.com hotel search. We have re-written a piece of the search engine to make this possible.
To create your own search form you will need these form input components:
- Text box for the hotel, city or airport name.
- Date input for check in date (date format is dd-mm-yyyy).
- Nights dropdown.
- Rooms, adults and children dropdowns. When children > 0, child_age must be supplied for each child.
- Currency dropdown (EUR, GBP, USD).
Refer to the search form at www.sletoh.com for dropdown values and ranges. For example nights is between 1 and 28, rooms between 1 and 5.
Your search form should send traffic to the following URL:
http://www.sletoh.com/find.php?search_term=halifax&country_id=&check_in_date=27-07-2011&nights=1&rooms=1&adults=1&children=1&child_age_1=6&child_age_2=-&child_age_3=-&child_age_4=-¤cy=GBP&partner_id=0
Parameters search_term, check_in_date, nights, rooms, adults, children and currency are mandatory. Parameter partner_id is given to you in your welcome email and can be retrieved from the partners login area. If you add a country dropdown to your search form, take the country IDs from the list of all cities and countries.
Custom Search Forms
You can create a custom hotel search form without getting into any technical stuff. Custom hotel search form.
Get In Touch
We would love to see your search form implementations. Send us your URL and we may even link to you to show others how it’s done.