Tisch-Reservierungen mit Loungen und Optionen. Buchung über getReservationSimpelTableForm() oder getReservationEventWizzardForm().
Reservations-Optionen / Packages abrufen (z.B. VIP-Package, Basis-Package). Jede Option enthält Varianten und Erweiterungen als Sub-Arrays.
Code — Liste
$config = [];
$config["website"] = '1';
$config["status"] = '1';
$config["label"] = '';
$config["search"] = '';
$config["orderby"] = 'headline'; // id | headline | random
$config["direction"] = 'asc';
$config["start"] = '0';
$config["limit"] = '100';
$optionen = getOptionenList($config);
foreach ($optionen as $option) {
echo $option["headline"]; // Optionsname
echo $option["content"]; // Beschreibung
echo $option["price"]; // Basispreis
echo $option["image"]["image"]; // Hauptbild
// Varianten (z.B. Grössen):
foreach ($option["variants"] as $v) {
echo $v["headline"].' – '.$v["price"];
}
// Erweiterungen (Add-ons):
foreach ($option["extensions"] as $e) {
echo $e["headline"].' – '.$e["price"];
}
}Code — Einzelinhalt + Medien
$option = getOptionenContent("13");
$images = getOptionenImages("13");
$videos = getOptionenVideos("13");
$vfiles = getOptionenVideosfiles("13");
$media = getOptionenMedia("13");Rückgabe-Keys
| Key | Beschreibung |
|---|---|
| id / headline / content | Basisdaten |
| price | Basispreis der Option |
| status / update | Status und letztes Update |
| variants[].id / .headline / .content / .price | Varianten (z.B. Grössen, Ausführungen) |
| extensions[].id / .headline / .content / .price | Erweiterungen / Add-ons |
| image_items / video_items / videofile_items / media_items | Anzahl Medien |
| image[].image / .thumbnail / .small | Bilder |
| video[].embed / .url | Video-Streams |
| videofile[].video / .width / .height | Hochgeladene Videodateien |
Ausgabe (Live)
[
{
"id": "18",
"headline": "adsfadf adsf",
"content": "",
"price": "0.00",
"label": [
""
],
"website": [
"1"
],
"status": "1",
"update": "2026-01-22 13:14:07",
"image_items": 0,
"video_items": 0,
"videofile_items": 0,
"media_items": 0,
"image": [],
"video": [],
"videofile": []
},
{
"id": "17",
"headline": "adsfasd fadsf",
"content": "",
"price": "0.00",
"label": [
""
],
"website": [
"1"
],
"status": "1",
"update": "2026-01-20 18:11:35",
"image_items": 0,
"video_items": 0,
"videofile_items": 0,
"media_items": 0,
"image": [],
"video": [],
"videofile": []
},
{
"id": "22",
"headline": "agasdfasdf",
"content": "",
"price": "0.00",
"label": [
""
],
"website": [
"1"
],
"status": "1",
"update": "2026-02-09 10:59:45",
"image_items": 0,
"video_items": 0,
"videofile_items": 0,
"media_items": 0,
"image": [],
"video": [],
"videofile": []
},
{
"id": "19",
"headline": "dghdghdgh",
"content": "",
"price": "0.00",
"label": [
""
],
"website": [
"1"
],
"status": "1",
"update": "2026-01-22 13:14:15",
"image_items": 0,
"video_items": 0,
"videofile_items": 0,
"media_items": 0,
"image": [],
"video": [],
"videofile": []
},
{
"id": "20",
"headline": "gsdfghdfg sfg",
"content": "s gfsdgf<\/p>",
"price": "0.00",
"label": [
""
],
"website": [
"1"
],
"status": "1",
"update": "2026-01-22 13:18:52",
"image_items": 0,
"video_items": 0,
"videofile_items": 0,
"media_items": 0,
"image": [],
"video": [],
"videofile": []
}
]