ModuleTerminsuche
LIVE Beispiel ansehen
<wls-search query="group=auto"></wls-search>
Im unten angegebenen Beispiel sehen eine mögliche Konfiguration des Moduls. Hier werden beispielsweise nur Hausboote angezeigt deren Termine eine Länge von 7 Nächte haben.
<wls-search query="group=auto; date_from=2017-09-09; region_id=2; boat_type_group=houseboat; duration=7"></wls-search>
Befindet sich das Modul beispielsweise auf der Seite https://test.com/wochencharter.html, so kann der Filter mittels URL Parameter angepasst werden.
https://test.com/wochencharter.html?date_from=2017-09-09
Attribute
Dieses Modul stellt 2 Attribute zur Verfügung. query
und fields
. Mit dem query
Attribut lässt sich die Suche voreinstellen. Das fields
Attribut blendet die anzuzeigenden Filter ein bzw. aus.
Query Werte | Typ | Beispiel |
---|---|---|
date_from | DATE |
2019-03-05 |
date_to | DATE |
2019-09-09 |
duration | API |
btw:2,13 |
page | INT |
1 |
limit | INT |
12 |
boat_id | API |
in:1,2,3 |
typ | API |
w |
q | STRING |
Pedro Skiron |
basement | API |
lk:Marina % |
basement_id | API |
in:1,2,3 |
radius | INT |
100 |
address | STRING |
Teststrasse 1, 12123 Stadt |
team_id | API |
in:1,2,3 |
team | API |
in:CU1,CU2 |
boat_type_id | API |
in:1,2 |
boat_type_group | API |
in:houseboat,sportboat |
region | API |
lk:Berlin |
region_id | API |
in:1,2,3 |
country | API |
DE |
model_id | API |
in:1,2,3 |
model | API |
in:Skiron 2,Skiron 3 |
manufacturer_id | API |
in:1,2,3 |
manufacturer | API |
in:Pedro |
decor | API |
in:TV,Sat |
animals | BOOLEAN |
1 |
special | BOOLEAN |
|
name | API |
Elena |
bond | API |
gte:100 |
oneway | BOOLEAN |
1 |
engine | API |
Diesel |
ps | API |
lte:15 |
length | API |
gte:4.4 |
width | API |
gt:1 |
height | API |
lte:2 |
depth | API |
gt:2 |
people | API |
btw:2,8 |
drive | API |
|
cabins | API |
btw:2,5 |
berth_fixed | API |
btw:2,5 |
berth_variable | API |
btw:2,5 |
toilets | API |
btw:2,5 |
showers | API |
btw:2,5 |
group | STRING |
model |
check_in | INT |
5 |
check_out | INT |
|
category | API |
lkp:Last-Minute |
min_price | API |
gte:500 |
max_price | API |
lte:1500 |
Field Werte | Beschreibung |
---|---|
region_id | Land / Region |
date_from | früheste Abfahrt |
duration | Reisedauer |
date_to | späteste Ankunft |
sort | Sortierung |
boat_type_group | Bootsart |
people | Personen |
cabins | Kabinen |
thruster | Strahlruder |
drive | Antriebsart |
q | Suchfeld |
animals | Tiermitnahme |
license | ohne Führerschein |
submit | Boote suchen Button |