# Cart Items

A technical section that renders the list of products in the cart drawer. Used internally by DRIFT's cart system.

## How to access

This section has no merchant-facing settings and is not added to pages directly. It's rendered as a sub-section by the cart drawer using Shopify's Section Rendering API to keep prices and quantities in sync with Shopify Markets.

## Why it exists

Splitting the cart line items into their own section lets DRIFT request fresh, market-aware HTML from Shopify after each cart update. This ensures prices, taxes, and currency are always accurate — particularly important on stores using Shopify Markets.

## Related

* [Theme settings → DRIFT — Cart](/drift/drift-starter/theme-settings/cart.md)


---

# Agent Instructions: 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://docs.webexp.dev/drift/drift-starter/sections-and-features/cart-items.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.
