# 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="https://1413666222-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FB7xH6fep0zIUsqsS8lgV%2Fuploads%2FRJZMcDU3Ft7XCjB5lsLb%2Fimage.jpg?alt=media&#x26;token=e62c3f1e-eed3-4407-87af-21874c5593d1" 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="https://1413666222-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FB7xH6fep0zIUsqsS8lgV%2Fuploads%2FkCHSJgVlQRh8XdPeDUas%2Fimage2.jpg?alt=media&#x26;token=ed747ae2-2e67-4f66-8e91-c9c89668d8a1" alt=""><figcaption></figcaption></figure>

3. Select the “Checkout” section

<figure><img src="https://1413666222-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FB7xH6fep0zIUsqsS8lgV%2Fuploads%2F8y9KhciKVSg1i67nZbL2%2Fimage3.jpg?alt=media&#x26;token=215814b0-69d3-4e2e-b5c6-331d6c65758f" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://1413666222-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FB7xH6fep0zIUsqsS8lgV%2Fuploads%2FubwEx0YnTNZf8bC8yP0y%2Fimage4.jpg?alt=media&#x26;token=f413af1a-0338-4904-b816-e6735d273cb5" 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="https://1413666222-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FB7xH6fep0zIUsqsS8lgV%2Fuploads%2FnFkLpB5thkDByGkaYnMw%2Fimage5.jpg?alt=media&#x26;token=2147b8a8-e66a-45aa-8755-846204374697" alt=""><figcaption></figcaption></figure>
