> For the complete documentation index, see [llms.txt](https://help.brickspacelab.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.brickspacelab.com/slab/getting-started/global-settings/set-cart-behavior.md).

# Cart

Cart settings in **Theme settings > Cart** control what happens after cart updates on desktop and mobile, what happens when customers use the cart control, and an optional minimum order amount.

## How to change theme cart

{% stepper %}
{% step %}

#### Set desktop and mobile behavior

* Open **Theme settings > Cart**.
* Set **Desktop cart behavior** for cart updates on large screens.
* Set **Mobile cart behavior** for cart updates on small screens.
  {% endstep %}

{% step %}

#### Set cart button behavior

* Set **Cart button behavior** for clicks on cart buttons or icons.
  {% endstep %}

{% step %}

#### Optional: minimum order

* Enter **Minimum order amount** if checkout should require a minimum. Use the format described in the table below.
  {% endstep %}

{% step %}

#### Test both viewports

* Add items and open the cart on desktop and mobile to confirm overlays or redirects match your flow.
  {% endstep %}
  {% endstepper %}

### Notes on cart behavior

* **Desktop cart behavior** and **Mobile cart behavior** apply after cart updates; **Cart button behavior** applies when opening the cart from navigation.
* If a cart overlay is already open, the theme does not open a second overlay on update.

## Cart settings

| Setting               | What it controls                                                                                                                                                      |
| --------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Desktop cart behavior | After updates on desktop: primary overlay, alternative overlay, redirect to cart, or redirect to checkout. Default **Open primary cart overlay**.                     |
| Mobile cart behavior  | After updates on mobile: same options. Default **Open alternative cart overlay**.                                                                                     |
| Cart button behavior  | When using the cart control: primary overlay, alternative overlay, go to cart, or go to checkout. Default **Open primary cart overlay**.                              |
| Minimum order amount  | Minimum subtotal before checkout. Enter no currency symbol and no decimal point (for example, `10000` for $100.00 in a two-decimal currency). Blank means no minimum. |


---

# 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 dynamically by asking a question.

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

```
GET https://help.brickspacelab.com/slab/getting-started/global-settings/set-cart-behavior.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
