> For the complete documentation index, see [llms.txt](https://manual.scandipwa.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://manual.scandipwa.com/v5.0.3/sales/shopping-cart.md).

# Shopping Cart

{% hint style="info" %}
**PRO TIP 🚀**

Use the test cases below to test your ScandiPWA App!
{% endhint %}

The cart is where the order total is calculated, along with discount coupons and estimated shipping and tax.

ScandiPWA respects the default Magento functionality of maintaining the shopping cart when switching the customer group. During login, the cart information is saved against the customer account, and once logged out, the shopping cart gets cleared.&#x20;

In the shopping cart, the customer can manage the number of items, gets an overview of the cart summary, and can apply a coupon code.&#x20;

{% hint style="success" %}
**TEST YOUR SCANDIPWA APP**

To verify the support for this section, use the following **test cases:**
{% endhint %}

{% file src="/files/-Ma9a4uvVck2vt2DM5I9" %}
Sales - Test Suite
{% endfile %}


---

# 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:

```
GET https://manual.scandipwa.com/v5.0.3/sales/shopping-cart.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.
