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

# Script di verifica del carrello

Lo script di verifica del carrello aiuta a prevenire prenotazioni non valide controllando la disponibilità degli appuntamenti e la quantità nel carrello prima che il cliente proceda al checkout.

Gli appuntamenti aggiunti al carrello possono diventare non disponibili mentre un cliente sta navigando o completando il checkout. Un altro cliente potrebbe prenotare per primo lo stesso slot, il [periodo di prenotazione](https://help.sesami.co/it/prenotazione/availability/reservation-period.md) potrebbe scadere, oppure la quantità selezionata potrebbe non essere più disponibile.

### Cosa controlla lo script di verifica del carrello?

Lo script convalida gli appuntamenti nel carrello per assicurarsi che:

* Lo slot dell'appuntamento selezionato sia ancora disponibile.
* La quantità selezionata sia valida e disponibile.
* Il [blocco temporaneo](https://help.sesami.co/it/prenotazione/availability/reservation-period.md) per l'appuntamento non sia scaduto.

Se un appuntamento non è più disponibile o la quantità selezionata non è valida, Sesami impedisce al cliente di procedere al checkout finché il problema non viene risolto.

### Cosa vede il cliente?

Quando Sesami rileva un appuntamento o una quantità non validi nel carrello, appare una notifica in fondo alla pagina.

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

## Attivalo/gestiscilo

{% tabs %}
{% tab title="Temi Online Store 2.0" %}
Lo script di verifica del carrello viene attivato tramite l'estensione dell'app Sesami per il tema. Assicurati che il blocco app Sesami richiesto sia aggiunto e attivato nel tuo tema.

<figure><img src="https://792414832-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="Temi vintage" %}
I temi che non supportano le estensioni dell'app richiedono un'integrazione manuale dello storefront.

Lo script di verifica del carrello è incluso con [integrazione manuale di Sesami](https://help.sesami.co/it/apps-integrations/shopify/online-store/manual-install.md)
{% endtab %}
{% endtabs %}

## Stile

La notifica di verifica del carrello supporta la personalizzazione dei colori, dei font e di altre opzioni di stile. Tuttavia, il testo della notifica non può essere modificato.

Vedi: “[Come personalizzare gli stili dello script di verifica del carrello](https://help.sesami.co/it/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/it/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.
