JavaScript-Ereignisse und Auslöser

Baza-Buchungskalender v2: Vollständige Referenz zu JavaScript-Ereignissen und -Triggern

Eine vollständige Übersicht über alle JavaScript-Ereignisse in Baza Booking Calendar v2. Nutzen Sie diese Ereignisse zur Integration mit Google Analytics 4, Google Tag Manager, LiveChat, Zapier oder beliebigen benutzerdefinierten Skripten.

Alle Ereignisse werden auf $(document) mit dem bbc Präfix ausgelöst. Registrieren Sie einen Listener so:

$(document).on('bbcEventName', function(e, data) {
    console.log(data);
});

Initialisierung

EreignisParameter
bbcInitialized–

Kalender

EreignisParameter
bbcCalendarPrintedservice, queryParams
bbcAjaxPrintCalendarSuccess–
bbcCalendarNavigateddirection: next/prev, queryData
bbcServiceChangedservice, queryData
bbcHandleClick–
bbcCalendarClickHandledelement, selectedCount
bbcFirstClickInDayelement, date, day
bbcRangeSelectedstartIndex, endIndex, day, date
bbcDayResetelement, day, date
bbcSelectedSlotsCleared–
bbcCalendarRefreshClicked–
bbcCalendarClearedservice
bbcPendingSlotClicked–
bbcBookedSlotClicked–
bbcUnableSlotClicked–
bbcOffSlotClicked–
bbcPrevButtonDisabledTodaydate
bbcCalendarDataChangedservice
bbcCalendarDataLoaded–
bbcCalendarPrintErrorxhr, status, error, queryParams
bbcDayPickerDayOpened–
bbcDayPickerMonthChanged–
bbcDayPickerMonthShown–
bbcHandleClickBlockedelement, reason
bbcRangeChangedstartMonth, endMonth, startYear, endYear
bbcSlotClaimsChanged–
bbcSlotDeselectedelement, date
bbcSlotSelectedelement, date
bbcUpdateCalendarSlots–
bbcWeekAppendedresponse, year, month, day
bbcWeekLoadedloadedDays, queueRemaining

Formular & Buchung

EreignisParameter
bbcFormSubmittedformData
bbcFormValidatedisValid
bbcFormSubmitSuccessoutAction: buy/get_url
bbcFormSubmitFailedreason
bbcFormSubmitIgnored–
bbcFormSubmitError–
bbcUnenableSlotsCheckedfound_slots
bbcRulesCheckboxChangedchecked: bool
bbcInvoiceCheckboxChangedchecked: bool
bbcBookingDataLoadErrorbookingId
bbcBookingElementsInitialized–
bbcFormBuilderReloaded–
bbcFormResetAfterBooking–
bbcMailOrPhoneChangeddata

Gutschein

EreignisParameter
bbcCouponAppliedcouponCode, couponData.coupon_type, couponData.coupon_value
bbcCouponCheckFailedreason: empty_code/invalid/error
bbcCouponReset–
bbcCouponAlreadyAppliedcouponCode
bbcCouponButtonClicked–
bbcCouponBlurChecked–
bbcCouponClearedOnBlur–
bbcCouponClearedOnInput–
bbcCouponEnterPressed–

Zusätzliche Dienstleistungen

EreignisParameter
bbcAdditionalServicesLoadedservice
bbcAdditionalQtyIncreasedid, name, value, totalPrice
bbcAdditionalCategoryChangedcategoryId
bbcSelectedServicesUpdatedselectedServices, totalPrice
bbcAdditionalServicesCleared–
bbcAdditionalServicesInputUpdatedselectedServices, formattedString
bbcPopupOpened–
bbcPopupClosed–
bbcServiceQuantityChangedserviceId, delta
bbcServiceRemovedserviceId
bbcAdditionalServiceClicked–
bbcAdditionalServicesLoadErrorservice, xhr, status, error
bbcAdditionalTotalPriceCalculatedtotal
bbcChoiseQtyMinusserviceId
bbcChoiseQtyPlusserviceId
bbcChoiseRemovedserviceId, day
bbcUpdateAdditionalServicesInput–
bbcAdditionalQtyChangedname, oldValue, newValue, totalPrice
bbcAdditionalQtyDecreasedid, name, value, totalPrice
bbcAdditionalQtyInitialized–
bbcSingleSelectionChangedselectedInput

Preise

EreignisParameter
bbcBookingDetailsUpdatedvollständiges Ergebnisobjekt
bbcUpdateBookingDetails–
bbcElementPriceUpdatedelement, price, secondPrice, enableSecond, reset
bbcMinimumAmountCheckedvalid, minimumHours
bbcPaymentActivityCheckedpaymentActivity
bbcPriceCleared–
bbcPriceDisplayUpdatedtotalPrice, taxAmount, taxLines, discount, info, partialAmount, userBalance, finalPriceWithTax, infoLines, fullLines, payNow, amount
bbcPriceInfoLines–
bbcServerPrice–
bbcServerPriceCleared–
bbcSurchargesInChoiseUpdated–

Treueprogramm

EreignisParameter
bbcLoyaltyFoundloyaltyData, userData
bbcLoyaltyDiscountApplieddiscountPercent, loyaltyData
bbcLoyaltyReset–
bbcLoyaltyNotFounduserData
bbcLoyaltyMessageShownloyaltyData
bbcLoyaltyCheckErrorerror, userData

Warenkorb-Modul

Für Warenkorb-Ereignisse muss das BBC-Cart-Modul unter „Einstellungen, Allgemein, Warenkorb aktivieren“ aktiviert sein.

EreignisParameter
bbcCouponApplied–
bbcCouponReset–
bbcBalanceCodeSendFailedmessage
bbcBalanceCodeSentisResend
bbcBalanceCodeVerified–
bbcBalanceCodeVerifyFailedmessage
bbcBalanceDeductionDisplayeddeduction, balanceAfter
bbcBalanceReset–
bbcBalanceSendCodeStartedisResend
bbcBalanceVerifyStartedcode
bbcOfferAppliedoffer
bbcOffersLoadedoffers

Benutzeroberfläche und System

EreignisParameter
bbcComponentsInitialized–
bbcComponentsBound–
bbcEventHandlersInitialized–
bbcUIInitialized–
bbcApplicationStarted–
bbcTextCopiedtext
bbcCopyFailederror
bbcStateChangedkey, value, oldValue
bbcConfigChangedkey, value
bbcScrolledTotarget, element
bbcAlertShowntext, position, delay, image, type
bbcAlertsCleared–
bbcFieldFocusedelement
bbcLoadingHidden–
bbcLoadingShown–
bbcPopupClosedOutside–
bbcPopupInitialized–
bbcStateReset–
bbc_sp_closed–
bbc_sp_loaded–
Zuletzt geändert: 20.10.2026