> For the complete documentation index, see [llms.txt](https://themedocs.zenit.design/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://themedocs.zenit.design/en/styling/checkout/cart.md).

# Cart

The option **Total quantity (1)** decides whether the counting in the shopping cart is based on the total products or the amount of line items.\
If the option **Shipping details expanded (2)** is activated, the shipping details can already be displayed in the expanded state in the shopping cart. \
With the option **Product number input (3)** you control the function in the Offcanvas shopping cart. Here you can choose between the three modes: `Show never`, `Show always` and `If products are in cart`.\
The **Wishlist (4)** option allows you to display the "Add to Wishlist" function for items in your shopping cart. You can decide here whether you need this function in your shopping cart. *Note that the wish list function in Shopware must be enabled for the option to be displayed.*\
You can display a **lock icon in "Go to checkout"-Buttons (4)** if your shop runs over HTTPS to build trust with your customers because he orders via a safe connection.

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

Examples:

<figure><img src="/files/8R9AshUaOW8teKtImqQc" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/3aeZhhHFVhXgbihWygZL" alt="" width="563"><figcaption></figcaption></figure>


---

# 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://themedocs.zenit.design/en/styling/checkout/cart.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.
