# Where does the cart live on a Smootify store, and what can it carry?

> The cart is kept by Shopify, not by the site: its lines (variant, quantity, properties), the order note, cart attributes and discount codes all travel with it to checkout and end up in the order.

URL: https://www.smootify.io/glossary/cart

On a Shopify store, the cart is a record Shopify keeps: the site only shows it. It holds:

- **lines**: one per variant, with its quantity, its price after discounts and its **properties**, the answers attached to that line, such as the text to engrave or an uploaded file;
- **cart attributes**: answers for the whole order, such as a delivery date or a gift message;
- the **order note**;
- **discount codes** and **gift cards** applied;
- the **buyer**: the logged-in customer, their market and their company.

Everything in the cart goes to checkout and ends up in the order, where the store sees it.

## In Webflow terms

Webflow Ecommerce kept its own cart. On a Smootify site, the cart you design, in Webflow or Astro, is a view of the Shopify cart: the same cart the checkout reads, so nothing is copied or lost on the way.

## In Smootify

`smootify-cart` shows the cart, with a `cart-item` template repeated per line, the totals and the discounts. A form in the cart can write the note and cart attributes, and the add-to-cart form can write line properties. The cart keeps its id in the browser, so a visitor finds it again on their next visit.

| Field Name | What it is | Field | Applied by | Shows |
|---|---|---|---|---|
| `Coupon` | a discount code | a Text field | a button with `data-action="coupon"`, or Enter | in the list of `cart="discount"` |
| `gift-card` | a gift card | a Text field | a button with `data-action="gift-card"` | in the list of `cart="gift-card"` |
| `Note` | the order note | a Text area or a Text field | saved at checkout | as the note of the order, in Shopify |
| any other name, such as `Delivery day` | a cart attribute | a Text field, Select, Checkbox or Radio button | saved at checkout | in the order's additional details, in Shopify |

More in [The cart](https://www.smootify.io/docs/build/cart) and [Cart extras](https://www.smootify.io/docs/build/cart-extras).
