> 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/footer/subtotal.md). Agents can also search and read this documentation through its [MCP server](https://accelio.gitbook.io/docs/~gitbook/mcp).

# Subtotal

Show the cart total, original price, and total savings.

Display the cart subtotal in the Footer, with options to show the original price and total savings. Open **Cart elements > Footer > Subtotal**.

{% hint style="warning" %}
As a default element, Subtotal 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%2FRSYXIlXegq57p2vWYWWE%2Fimage.png?alt=media&amp;token=c50c91bf-0389-4104-98eb-5fc1fe1095b8" 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%2FhbpTLMRR50ddKdpLFIiQ%2Fimage.png?alt=media&amp;token=594c6b0e-177c-4b76-b389-bfbe26ca7ae8" alt=""><figcaption></figcaption></figure>

* **Subtotal label:** the text next to the total (e.g. `Subtotal`).
* **Show compare-at-price:**&#x20;
  * Displays the original strikethrough total (e.g. ~~$105.96~~) next to the current subtotal.&#x20;
  * Only appears if at least one product in the cart has a **Compare-at price** set in Shopify admin.
* **Show saving amount:** displays total savings across all line items.
  * **Label:** the saving text. Default: `Save {{savings}}`.

### 2. Color

<figure><img src="https://153490188-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtXnqreLUgTLePYs0qjMq%2Fuploads%2FDwwqQ0cDq2qW7fVHBpqt%2Fimage.png?alt=media&amp;token=d91222a5-ab5a-4669-90d2-dca8b1ddbbf0" alt=""><figcaption></figcaption></figure>

Set colors for each part of the subtotal row:

* **Label color:** the Subtotal label text.
* **Price color:** the current subtotal amount.
* **Compare at price:** the strikethrough original total.
* **Saving label color:** the total savings 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.
