> 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/fr/apps-integrations/shopify/online-store/cart-verification-script.md).

# Script de vérification du panier

Le script de vérification du panier aide à empêcher les réservations invalides en vérifiant la disponibilité des rendez-vous et la quantité dans le panier avant que le client ne passe à la caisse.

Les rendez-vous ajoutés au panier peuvent devenir indisponibles pendant qu’un client navigue ou finalise son paiement. Un autre client peut réserver le même créneau en premier, le [période de réservation](https://help.sesami.co/fr/reservation/availability/reservation-period.md) peut expirer, ou la quantité sélectionnée peut ne plus être disponible.

### Que vérifie le script de vérification du panier ?

Le script valide les rendez-vous dans le panier pour s’assurer que :

* Le créneau de rendez-vous sélectionné est toujours disponible.
* La quantité sélectionnée est valide et disponible.
* Le [réservation temporaire](https://help.sesami.co/fr/reservation/availability/reservation-period.md) du rendez-vous n’a pas expiré.

Si un rendez-vous n’est plus disponible ou si la quantité sélectionnée est invalide, Sesami empêche le client de passer à la caisse tant que le problème n’est pas résolu.

### Que voit le client ?

Lorsque Sesami détecte un rendez-vous ou une quantité invalide dans le panier, une notification apparaît en bas de la page.

<figure><img src="https://401080738-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>

## L’activer/le gérer

{% tabs %}
{% tab title="Thèmes Online Store 2.0" %}
Le script de vérification du panier est activé via l’extension d’application de thème Sesami. Assurez-vous que le bloc d’application Sesami requis est ajouté et activé dans votre thème.

<figure><img src="https://401080738-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="Thèmes Vintage" %}
Les thèmes qui ne prennent pas en charge les extensions d’application nécessitent une intégration manuelle à la vitrine.

Le script de vérification du panier est inclus dans [l’intégration manuelle de Sesami](https://help.sesami.co/fr/apps-integrations/shopify/online-store/manual-install.md)
{% endtab %}
{% endtabs %}

## Style

La notification de vérification du panier prend en charge la personnalisation de ses couleurs, polices et autres options de style. Cependant, le texte de la notification ne peut pas être modifié.

Voir : “[Comment personnaliser les styles du script de vérification du panier](https://help.sesami.co/fr/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/fr/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.
