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

# Ostoskorin vahvistusskripti

Ostoskorin vahvistusskripti auttaa estämään virheelliset varaukset tarkistamalla ajanvarauksen saatavuuden ja määrän ostoskorissa ennen kuin asiakas siirtyy kassalle.

Ostoskoriin lisätyt ajanvaraukset voivat muuttua saatavuudeltaan ei-oleviksi, kun asiakas selaa sivustoa tai viimeistelee kassalla maksamista. Toinen asiakas voi varata saman ajan ensin, [varausaika](https://help.sesami.co/fi/varaus/availability/reservation-period.md) saattaa päättyä, tai valittua määrää ei välttämättä ole enää saatavilla.

### Mitä Ostoskorin vahvistusskripti tarkistaa?

Skripti validoi ostoskorin ajanvaraukset varmistaakseen, että:

* Valittu aika on edelleen saatavilla.
* Valittu määrä on kelvollinen ja saatavilla.
* Se [väliaikainen varaus](https://help.sesami.co/fi/varaus/availability/reservation-period.md) ajanvaraukselle ei ole vanhentunut.

Jos ajanvaraus ei ole enää saatavilla tai valittu määrä on virheellinen, Sesami estää asiakasta siirtymästä kassalle, kunnes ongelma on ratkaistu.

### Mitä asiakas näkee?

Kun Sesami havaitsee ostoskorissa virheellisen ajanvarauksen tai määrän, sivun alareunaan ilmestyy ilmoitus.

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

## Ota käyttöön / hallinnoi sitä

{% tabs %}
{% tab title="Verkkokauppa 2.0 -teemat" %}
Ostoskorin vahvistusskripti otetaan käyttöön Sesami-teemasovelluksen laajennuksen kautta. Varmista, että vaadittu Sesami-sovelluslohko on lisätty ja otettu käyttöön teemassasi.

<figure><img src="https://1941800691-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="Vanhat teemat" %}
Teemat, jotka eivät tue sovelluslaajennuksia, vaativat manuaalisen verkkokaupan integroinnin.

Ostoskorin vahvistusskripti sisältyy [Sesamin manuaaliseen integrointiin](https://help.sesami.co/fi/apps-integrations/shopify/online-store/manual-install.md)
{% endtab %}
{% endtabs %}

## Ulkoasu

Ostoskorin vahvistusilmoituksen värejä, fontteja ja muita muotoiluasetuksia voi mukauttaa. Ilmoitustekstiä ei kuitenkaan voi muokata.

Katso: “[Kuinka mukauttaa Ostoskorin vahvistusskriptin tyylejä](https://help.sesami.co/fi/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/fi/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.
