<p>The example template show how to display the note, but here is the jist of it:</p>

<pre><code>{% for item in cart.lineItems %}
 {{item.qty }} x {{ item.description }} - {{ item.note }}
{% endfor %}
</code></pre>

CC BY-SA 3.0
2016-05-02T18:25:23.237Z
take a look at the line item model: https://craftcommerce.com/docs/line-item-model
Luke Holder
CC BY-SA 3.0
2016-05-03T06:42:43.857Z
Thank you Luke, yes I checked the docs as you can see by the link. Also can we see a note in the back end?
oxford
CC BY-SA 3.0
2016-05-02T18:24:51.467Z
2016-05-02T18:24:51.467Z
Luke Holder
<p><strong>Working with the example Commerce templates.</strong> In the cart template there is an example for adding a note. <a href="https://craftcommerce.com/docs/line-item-model#note" rel="nofollow">https://craftcommerce.com/docs/line-item-model#note</a></p>

<p>The code for this form:</p>

<pre><code>&lt;form class="shopForm" method="POST"&gt;
&lt;input type="hidden" name="action" value="commerce/cart/updateLineItem"&gt;
&lt;input type="hidden" name="redirect" value="shop/cart"&gt;
&lt;input type="hidden" name="lineItemId" value="{{ item.id }}"&gt;
{{ getCsrfInput() }}

&lt;div class="field"&gt;
    &lt;label for="note"&gt;Note&lt;/label&gt;
    &lt;input type="text" size="20" name="note" value="{{ item.note }}"&gt;
&lt;/div&gt;

&lt;div class="field"&gt;
    &lt;label for="qty"&gt;Quantity&lt;/label&gt;
    &lt;input type="number" name="qty" min="1" value="{{ item.qty }}"&gt;
&lt;/div&gt;

&lt;input type="submit" class="btn btn-outline" value="Update"&gt;
</code></pre>

<p></p>

<p>Very useful but after submitting the form, how can we display this later on in the ordering process? For example on a receipt or the order overview. Also can we view this in the Commerce back end? I was not able to find …</p>

<p>Can anybody shed some light? Thanks!</p>

<plugin-craftcommerce>
How to use a note from the Line Item Model
# How to use a note from the Line Item Model

(Asked by: username_0 on 2016-05-02)

Working with the example Commerce templates. In the cart template there is an example for adding a note. https://craftcommerce.com/docs/line-item-model#note
The code for this form:




{{ getCsrfInput() }}


    Note
    



    Quantity
    





Very useful but after submitting the form, how can we display this later on in the ordering process? For example on a receipt or the order overview. Also can we view this in the Commerce back end? I was not able to find …
Can anybody shed some light? Thanks!

**Tags:** plugin-craftcommerce


---

## 1 answers

### Answer by username_1 on 2016-05-02. Score: 1

The example template show how to display the note, but here is the jist of it:
{% for item in cart.lineItems %}
 {{item.qty }} x {{ item.description }} - {{ item.note }}
{% endfor %}

> **Comments:**
> **username_1**: take a look at the line item model: https://craftcommerce.com/docs/line-item-model  
> **username_0**: Thank you Luke, yes I checked the docs as you can see by the link. Also can we see a note in the back end?  

---

