> ## Documentation Index
> Fetch the complete documentation index at: https://docs.scayla.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Add-to-cart limit

> Set the maximum quantity a customer can hold of any one item in their edited order.

The add-to-cart limit caps the total quantity per item a customer can have in their order after editing, including the original quantity. This prevents abuse and stops customers from brute-forcing your inventory limits.

## Why the limit exists

Without a cap, a customer could:

* Add hundreds of units of an item as a malicious act against your store
* Discover your exact available inventory by trial and error

The limit puts a reasonable ceiling on edits without affecting normal customer behavior.

## Default value

The default is **5 units per item**. Enough for most genuine edits, such as adding extras or buying for a friend, without exposing you to abuse.

## Interaction with Shopify's inventory limits

Shopify's inventory limits still apply. For products that don't allow overselling, a customer can't exceed your actual available stock, even if the add-to-cart limit is higher.

## Set the limit

<Steps>
  <Step title="Open Editr settings">
    From your Editr admin, go to **Settings**.
  </Step>

  <Step title="Find the Add-to-cart limit section">
    Scroll to the **Add-to-cart limit** section.
  </Step>

  <Step title="Enter a limit">
    Enter a whole number in the **Limit per item** field.
  </Step>

  <Step title="Save">Save your settings.</Step>
</Steps>

## Related guides

* [Edit items block](/editr/guides/editing-options/edit-items)
* [Add items block](/editr/guides/editing-options/add-items)
