# How to lock the quantity in the Shopify cart once a Cowlendar booking is made

***

### Prevent Quantity Changes in Shopify Cart After Booking with Cowlendar

When you enable the **"Lock quantity after booking"** feature in Cowlendar, customers will no longer be able to change the quantity of the booked service in the Shopify cart. This helps prevent accidental overbooking and ensures each reservation is handled exactly as intended, providing a smoother and more controlled checkout experience

<figure><img src="/files/7R9zzb4Zere65lU9Igfy" alt=""><figcaption></figcaption></figure>

### How to enable Cowlendar's cart-checkout validation rule

1. Go to your Shopify Dashboard
2. Click on “Settings” (bottom-left corner)

<figure><img src="/files/lhaYMua2RmQkMGWLkggF" alt=""><figcaption></figcaption></figure>

3. Select the “Checkout” section

<figure><img src="/files/33kbJGj3cyPQqUnj4oQr" alt=""><figcaption></figcaption></figure>

4. Scroll down to the bottom until you see “Checkout Rules”

<figure><img src="/files/Z6i3kKgMlhjaD0QltLZ6" alt=""><figcaption></figcaption></figure>

5. Click on “Add Rule”
6. Choose “cart-checkout-validation” by Cowlendar
7. Make sure the option “Allow all customers to complete checkout” is enabled and turn on the rule and save the changes.

<figure><img src="/files/LgOKCFPIVgcD5c046xLS" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://penida.gitbook.io/cowlendar-help/how-to.../how-to-lock-the-quantity-in-the-shopify-cart-once-a-cowlendar-booking-is-made.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
