Follow Us On
info@seeroesl.at +43 4229 2479 +43 650 950 57 84

DZ Buchung -per Onlineformular

    Plaintext
    Name:
    E-Mail:

    Saison:

    Anreise:
    Abreise:

    Anzahl der Personen: 2 (fest)

    Gesamtpreis: 0 €


    [recaptcha]

    Erläuterung:
    * = Pflichtfeld → Formular kann nicht abgeschickt werden, wenn leer
    hidden total → wird vom JS automatisch befüllt
    [stripe amount:total …] → Stripe Button, Betrag kommt automatisch aus total

    Javascript document.addEventListener(‚DOMContentLoaded‘, function () { const checkin = document.getElementById(‚checkin‘); const checkout = document.getElementById(‚checkout‘); const totalPriceSpan = document.getElementById(‚total-price‘); const totalHidden = document.getElementById(‚total‘); const seasonSelect = document.querySelector(’select[name=“season“]‘); // Preise pro Nacht const prices = { „Vorsaison“: 80, „Sommer“: 120, „Nachsaison“: 90 }; function calculatePrice() { if (!checkin.value || !checkout.value) return; const checkinDate = new Date(checkin.value); const checkoutDate = new Date(checkout.value); let days = (checkoutDate – checkinDate) / (1000*60*60*24); // Mindestaufenthalt prüfen if (days < 3) { totalPriceSpan.textContent = "Mindestaufenthalt 3 Nächte!"; totalHidden.value = ""; return; } const season = seasonSelect.value; const pricePerNight = prices[season] || 0; const total = days * pricePerNight; totalPriceSpan.textContent = total + " €"; totalHidden.value = total; } [checkin, checkout, seasonSelect].forEach(el => el.addEventListener(‚change‘, calculatePrice)); });

    seenah ~ ruhig ~ zentral.



    +43 4229 2479
    WhatsApp Chat +43 690 102 22 107


    info@seeroesl.at

    Heinzelweg 19,
    A-9201 Krumpendorf am Wörthersee,
    AUSTRIA - Österreich


    Need Help? Chat with us
    Hotel Garni SEERÖSL
    Persönlich für dich da. Jetzt direkt chatten.