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

# Skrypt weryfikacji koszyka

Skrypt weryfikacji koszyka pomaga zapobiegać nieprawidłowym rezerwacjom, sprawdzając dostępność terminów i ilość w koszyku, zanim klient przejdzie do płatności.

Terminy dodane do koszyka mogą stać się niedostępne, gdy klient przegląda ofertę lub finalizuje płatność. Inny klient może najpierw zarezerwować ten sam termin, ten [okres rezerwacji](https://help.sesami.co/pl/rezerwacja/availability/reservation-period.md) może wygasnąć lub wybrana ilość może nie być już dostępna.

### Co sprawdza Skrypt weryfikacji koszyka?

Skrypt sprawdza terminy w koszyku, aby upewnić się, że:

* Wybrany termin jest nadal dostępny.
* Wybrana ilość jest prawidłowa i dostępna.
* Ten [tymczasowa rezerwacja](https://help.sesami.co/pl/rezerwacja/availability/reservation-period.md) dla terminu nie wygasła.

Jeśli termin nie jest już dostępny lub wybrana ilość jest nieprawidłowa, Sesami uniemożliwia klientowi przejście do płatności, dopóki problem nie zostanie rozwiązany.

### Co widzi klient?

Gdy Sesami wykryje nieprawidłowy termin lub ilość w koszyku, na dole strony pojawia się powiadomienie.

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

## Włącz/zarządzaj

{% tabs %}
{% tab title="Motywy Online Store 2.0" %}
Skrypt weryfikacji koszyka jest włączany za pomocą rozszerzenia Sesami Theme App Extension. Upewnij się, że wymagany blok aplikacji Sesami został dodany i włączony w Twoim motywie.

<figure><img src="https://868243392-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="Motywy vintage" %}
Motywy, które nie obsługują rozszerzeń aplikacji, wymagają ręcznej integracji ze sklepem.

Skrypt weryfikacji koszyka jest dostępny wraz z [ręczną integracją Sesami](https://help.sesami.co/pl/apps-integrations/shopify/online-store/manual-install.md)
{% endtab %}
{% endtabs %}

## Stylizacja

Powiadomienie o weryfikacji koszyka obsługuje dostosowywanie kolorów, czcionek i innych opcji stylizacji. Jednak treści powiadomienia nie można modyfikować.

Zobacz: „[Jak dostosować style Skryptu weryfikacji koszyka](https://help.sesami.co/pl/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/pl/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.
