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

# Skript för kundvagnsverifiering

Cart Verification Script hjälper till att förhindra ogiltiga bokningar genom att kontrollera tillgänglighet och antal för bokningen i varukorgen innan kunden går vidare till kassan.

Bokningar som läggs i varukorgen kan bli otillgängliga medan en kund bläddrar eller slutför köpet. En annan kund kan boka samma tid först, [reservationsperioden](https://help.sesami.co/se/bokning/availability/reservation-period.md) kan gå ut, eller så kan den valda kvantiteten inte längre vara tillgänglig.

### Vad kontrollerar Cart Verification Script?

Skriptet validerar bokningar i varukorgen för att säkerställa att:

* Den valda tidsluckan är fortfarande tillgänglig.
* Det valda antalet är giltigt och tillgängligt.
* Den [tillfälliga reservationen](https://help.sesami.co/se/bokning/availability/reservation-period.md) för bokningen inte har gått ut.

Om en bokning inte längre är tillgänglig eller det valda antalet är ogiltigt förhindrar Sesami kunden från att gå vidare till kassan tills problemet är löst.

### Vad ser kunden?

När Sesami upptäcker en ogiltig bokning eller kvantitet i varukorgen visas en avisering längst ned på sidan.

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

## Aktivera/hantera det

{% tabs %}
{% tab title="Online Store 2.0-teman" %}
Cart Verification Script aktiveras via Sesami Theme App Extension. Se till att det nödvändiga Sesami-appblocket har lagts till och aktiverats i ditt tema.

<figure><img src="https://2436831990-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="Äldre teman" %}
Teman som inte stöder app-tillägg kräver manuell integration i butiksfronten.

Cart Verification Script ingår i [Sesami manuell integration](https://help.sesami.co/se/apps-integrations/shopify/online-store/manual-install.md)
{% endtab %}
{% endtabs %}

## Stil

Aviseringen för Cart Verification stöder anpassning av färger, typsnitt och andra stilalternativ. Aviseringstexten kan dock inte ändras.

Se: “[Så anpassar du stilarna för Cart Verification Script](https://help.sesami.co/se/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/se/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.
