HOLI City Apart Hotel Berlin (GV619835), Platform 2.0, tenant eu on C03. The widget no longer has a hotel table: it receives ise-url and reads /assets/configuration/config.json from there to find the API host (platform-2.0 #1001).
Expected: the calendar shows prices and availability without any hotel code or host compiled in anywhere.
| Hotel code | GV619835 |
| Loaded bundle | gauvendi-widget-v3-es2015.js |
Custom Element gauvendi-widget | checking … |
| Bundle from CDN | checking … |
Stylesheet styles-v3.css | checking … |
config.json from https://holi-berlin.gauvendi.com (CORS) | checking … |
Resolved API host apiUrlV2 | checking … |
REST /api/hotel/widget on the resolved host | checking … |
Add these three lines to the website body.
<link rel="stylesheet" href="https://widget-cdn.gauvendi.com/v3/styles-v3.css"> <script src="https://widget-cdn.gauvendi.com/v3/gauvendi-widget-v3-es2015.js"></script> <gauvendi-widget hotel-code="GV619835" locale="de" booking-src="GVWEBWID" ise-url="https://holi-berlin.gauvendi.com"></gauvendi-widget>
Optional: larger text. A hotel that wants the widget more readable can add this to its own site CSS. It enlarges the search bar only, not the page; the calendar popup opens in the page body and keeps its size. Desktop only: on a phone the widget already fills the width and zoom pushes it past the edge.
@media (min-width: 1400px) { gauvendi-widget { zoom: 1.25; } }
@media (min-width: 1025px) and (max-width: 1399px) { gauvendi-widget { zoom: 1.1; } }
Optional: compact search bar. Hides the booking code field and shows only the magnifier on the search button. The class names are internal to the widget and can change with a widget update.
gauvendi-widget .promotion-wrapper,
gauvendi-widget .promotion { display: none !important; }
gauvendi-widget .action-wrapper-large .action-text { display: none !important; }