<p><code>lineItem.purchasable.title</code> is the variant title, <code>lineItem.purchasable.product.title</code> is the product title.  </p>

CC BY-SA 3.0
2016-10-18T11:28:50.013Z
2016-10-18T11:28:50.013Z
Jeremy Daalder
<p>On the cart page, I currently display items that have been added to the cart with:</p>

<pre><code>{{ lineItem.description }}
</code></pre>

<p>What I want to do, rather than displaying the product name and variant title as one, is to split them. So that I can display the variant title separately from the product name.</p>

<p>What is the correct model for this?</p>

CC BY-SA 3.0
2016-10-18T11:05:42.147Z
`lineItem.purchasable.title` is the variant title, `lineItem.purchasable.product.title` is the product title.
Jeremy Daalder
<plugin-craftcommerce>
Display variant title on cart page
# Display variant title on cart page

(Asked by: username_0 on 2016-10-18)

On the cart page, I currently display items that have been added to the cart with:
{{ lineItem.description }}

What I want to do, rather than displaying the product name and variant title as one, is to split them. So that I can display the variant title separately from the product name.
What is the correct model for this?

**Tags:** plugin-craftcommerce

> **Comments:**
> **username_1**: `lineItem.purchasable.title` is the variant title, `lineItem.purchasable.product.title` is the product title.  

---

## 1 answers

### Answer by username_1 on 2016-10-18. Score: 2

`lineItem.purchasable.title` is the variant title, `lineItem.purchasable.product.title` is the product title.


---

