> For the complete documentation index, see [llms.txt](https://help.sesami.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.sesami.co/de/apps-integrations/shopify/online-store/cart-verification-script.md).

# Skript zur Warenkorbüberprüfung

Das Cart-Verifizierungs-Skript hilft, ungültige Buchungen zu verhindern, indem es vor dem Checkout des Kunden die Verfügbarkeit und Menge von Terminen im Warenkorb überprüft.

Termine, die dem Warenkorb hinzugefügt wurden, können während des Stöberns oder beim Abschluss des Checkouts eines Kunden nicht mehr verfügbar werden. Ein anderer Kunde kann denselben Slot zuerst buchen, der [Reservierungszeitraum](https://help.sesami.co/de/buchung/availability/reservation-period.md) kann ablaufen, oder die ausgewählte Menge ist möglicherweise nicht mehr verfügbar.

### Was prüft das Cart-Verifizierungs-Skript?

Das Skript validiert Termine im Warenkorb, um sicherzustellen, dass:

* der ausgewählte Termin-Slot noch verfügbar ist.
* die ausgewählte Menge gültig und verfügbar ist.
* Die [vorübergehende Reservierung](https://help.sesami.co/de/buchung/availability/reservation-period.md) für den Termin nicht abgelaufen ist.

Wenn ein Termin nicht mehr verfügbar ist oder die ausgewählte Menge ungültig ist, verhindert Sesami, dass der Kunde mit dem Checkout fortfährt, bis das Problem behoben ist.

### Was sieht der Kunde?

Wenn Sesami einen ungültigen Termin oder eine ungültige Menge im Warenkorb erkennt, erscheint unten auf der Seite eine Benachrichtigung.

<figure><img src="https://2497819641-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnDgiM1CWSLWRIbhORANO%2Fuploads%2Fw6CHoTiWlzzKMqmfxJNA%2FScreenshot%202026-11-06%20at%2010.51.15.png?alt=media&amp;token=89bd92b5-b3ab-4cfb-8b91-9b531739297f" alt=""><figcaption></figcaption></figure>

## Aktivieren/verwalten

{% tabs %}
{% tab title="Themes für Onlineshop 2.0" %}
Das Cart-Verifizierungs-Skript wird über die Sesami Theme App-Erweiterung aktiviert. Stellen Sie sicher, dass der erforderliche Sesami-App-Block zu Ihrem Theme hinzugefügt und aktiviert ist.

<figure><img src="https://2497819641-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnDgiM1CWSLWRIbhORANO%2Fuploads%2FD0ovG3dlB5XXCv5wzdHO%2FScreenshot%202026-11-06%20at%2011.02.18.png?alt=media&amp;token=5d0e4642-16e0-402d-8ce6-0f57f7d89b73" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Vintage-Themes" %}
Themes, die keine App-Erweiterungen unterstützen, erfordern eine manuelle Storefront-Integration.

Das Cart-Verifizierungs-Skript ist enthalten in [Sesami manuelle Integration](https://help.sesami.co/de/apps-integrations/shopify/online-store/manual-install.md)
{% endtab %}
{% endtabs %}

## Gestaltung

Die Benachrichtigung zur Warenkorb-Verifizierung unterstützt die Anpassung ihrer Farben, Schriftarten und anderer Gestaltungsoptionen. Der Benachrichtigungstext kann jedoch nicht geändert werden.

Siehe: „[So passen Sie die Stile des Cart-Verifizierungs-Skripts an](https://help.sesami.co/de/apps-integrations/shopify/online-store/customize-cart-verification-script-styles.md)“.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.sesami.co/de/apps-integrations/shopify/online-store/cart-verification-script.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
