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

# Handlekurvverifiseringsskript

Kurvverifiseringsskriptet hjelper til med å forhindre ugyldige bestillinger ved å kontrollere tilgjengelighet for avtaler og antall i handlekurven før kunden går videre til kassen.

Avtaler som er lagt til i handlekurven kan bli utilgjengelige mens en kunde blar gjennom eller fullfører kjøpet. En annen kunde kan bestille samme tidsluke først, [reservasjonsperioden](/no/booking/availability/reservation-period.md) kan utløpe, eller det valgte antallet kan ikke lenger være tilgjengelig.

### Hva sjekker kurvverifiseringsskriptet?

Skriptet validerer avtaler i handlekurven for å sikre at:

* Den valgte avtaletidsluken fortsatt er tilgjengelig.
* Det valgte antallet er gyldig og tilgjengelig.
* Den [midlertidige reservasjonen](/no/booking/availability/reservation-period.md) for avtalen har ikke utløpt.

Hvis en avtale ikke lenger er tilgjengelig, eller det valgte antallet er ugyldig, hindrer Sesami kunden i å gå videre til kassen til problemet er løst.

### Hva ser kunden?

Når Sesami oppdager en ugyldig avtale eller et ugyldig antall i handlekurven, vises et varsel nederst på siden.

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

## Aktiver/administrer det

{% tabs %}
{% tab title="Temaer for Online Store 2.0" %}
Kurvverifiseringsskriptet aktiveres gjennom Sesami Theme App Extension. Sørg for at den nødvendige Sesami-appblokken er lagt til og aktivert i temaet ditt.

<figure><img src="https://340721960-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-temaer" %}
Temaer som ikke støtter apputvidelser, krever manuell integrasjon med butikkfronten.

Kurvverifiseringsskriptet er inkludert med [Sesamis manuelle integrasjon](/no/apps-integrations/shopify/online-store/manual-install.md)
{% endtab %}
{% endtabs %}

## Stil

Varslingen for kurvverifisering støtter tilpasning av farger, skrifttyper og andre stilalternativer. Varslingsteksten kan imidlertid ikke endres.

Se: «[Slik tilpasser du stilene til kurvverifiseringsskriptet](/no/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/no/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.
