# Display option selections in the cart page

Displaying the option selections in the cart page is a great way to assure your customers that their selections are added to the order and that you will receive it once they purchase the item. Follow the steps below to get started.

Before proceeding, it's a good idea to test whether or not your options are already appearing on the cart page. Most themes support this by default, so you may not need to add additional code.

### Getting Started...

1\. From your Shopify admin, click **Online Store** to arrive at the **Themes** page.

2\. Find the theme you want to edit, click the three dots to the left of the **Customize** button, then click **Edit code**.

<figure><img src="https://24152052-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FglwgaFVh2VmGBjtIbnDb%2Fuploads%2FUt0Y6sg5f5CXCqTdntMm%2Fedit-code.png?alt=media&#x26;token=152e927c-9841-474e-8cdc-f74f9806944d" alt=""><figcaption></figcaption></figure>

3\. On the left side, under the **Templates** heading, click on the **cart.liquid** file.

4\. If you see that your cart.liquid file is guiding you to your cart-template.liquid file. Go into the **cart-template.liquid** file under the **Sections** folder. Otherwise, continue to the next step.

![](https://24152052-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FglwgaFVh2VmGBjtIbnDb%2Fuploads%2Fgit-blob-94a6d17c3616eaa913b0f5fa6a681c23199f8d57%2Fdocsassets555e25e4e4b027e1978e1c9aimages5f18a5a22c7d3a10cbab2865file-yqrodrwddo.png?alt=media)

5\. Locate the product's title by searching for either **item.title** or **item.product.title**.

```liquid
item.title
```

```liquid
item.product.title
```

When searching for the product's title, if you notice a few lines below that start with **for p in item.properties** or **for p in properties**, this means your theme already supports displaying the option selections.

6\. Copy and paste the following code snippet below your product title or variants.

```liquid
{% for p in item.properties %}
  {% if p.first contains '_io_' %}
    {% continue %}
  {% endif %}
  {% unless p.last == blank %}
    <br />{{p.first}}: {{ p.last }}
  {% endunless %}
{% endfor %}
```

Product variants tend to appear below the product title. They can be found by looking for **{{ item.variant.title }}.**

7\. Save your changes.

Below is an example. Placement will vary depending on your theme.

![](https://24152052-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FglwgaFVh2VmGBjtIbnDb%2Fuploads%2Fgit-blob-f92bdb3f828499300914356a43348447c998596e%2Fdocsassets555e25e4e4b027e1978e1c9aimages5f18a9a02c7d3a10cbab28a6file-nl1o4ybxr8.png?alt=media)

Option selections now display on your cart page!

Here is an example of a cart page where the selection **Bear** has been chosen for the **Cartoon design** option under the product's title.

![](https://24152052-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FglwgaFVh2VmGBjtIbnDb%2Fuploads%2Fgit-blob-bafb240fd3b6dd75edfcb9617a7a1571e4ba9b56%2Fdocsassets555e25e4e4b027e1978e1c9aimages5f18ad692c7d3a10cbab28eefile-ov4hksgbbw.png?alt=media)
