> For the complete documentation index, see [llms.txt](https://accelio.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://accelio.gitbook.io/docs/cart-elements/body/product-in-cart.md). Agents can also search and read this documentation through its [MCP server](https://accelio.gitbook.io/docs/~gitbook/mcp).

# Product in cart

Customize how line items appear in the drawer: images, prices, savings, and colors.

Shows the line items shoppers have added: image, name, variant, price, quantity, and remove button. Open **Cart elements > Body > Product in cart**.

{% hint style="warning" %}
As a default element, Product in cart is **always on** and has no toggle.
{% endhint %}

<figure><img src="https://153490188-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtXnqreLUgTLePYs0qjMq%2Fuploads%2FZAeyyuGiFwPOctpXxoSD%2Fimage.png?alt=media&amp;token=3d2fbfbc-0b90-4136-ab7a-d0f7378303f1" alt=""><figcaption></figcaption></figure>

### 1. Settings

<figure><img src="https://153490188-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtXnqreLUgTLePYs0qjMq%2Fuploads%2FjmVTSGIZ0jgeZU2ToujU%2Fimage.png?alt=media&amp;token=8371c6d2-5649-412e-9171-c061422f41e4" alt=""><figcaption></figcaption></figure>

* **Show compare-at-price:** Displays the original strikethrough price (e.g. ~~$79.98~~) next to the current price.&#x20;

{% hint style="info" %}
Only appears for products where you’ve set a **Compare-at price** in your Shopify admin.
{% endhint %}

* **Show saving amount:** displays how much the shopper saves on each line item.
  * **Label:** the saving text. Default: `Save {{savings}}`.&#x20;
* **Product image size:** in px.

### 2. Color

<figure><img src="https://153490188-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtXnqreLUgTLePYs0qjMq%2Fuploads%2Ft3c8jc7HwGx0pd7beb0V%2Fimage.png?alt=media&amp;token=441a401e-5b2b-42a8-b5ea-5da9381dee0e" alt=""><figcaption></figcaption></figure>

Set colors for each part of the line item:

* **Product name**
* **Product variant:** the variant text under the name (e.g. `Rosemary / 150ml`)
* **Product price:** the current (selling) price
* **Compare at price:** the strikethrough original price
* **Saving amount:** the discount text (e.g. `Save $20.00`)

### Need help?

If you need any assistance, reach out to our support team via **live chat** inside the Accelio app.
