Answers.Body: <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>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-05-02T18:25:23.237Z
Answers.Text: take a look at the line item model: https://craftcommerce.com/docs/line-item-model
Answers.UserDisplayName: Luke Holder
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-05-03T06:42:43.857Z
Answers.Text: 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?
Answers.UserDisplayName: oxford
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-05-02T18:24:51.467Z
Answers.LastActivityDate: 2016-05-02T18:24:51.467Z
Answers.UserDisplayName: Luke Holder
Body: <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>
  
Tags: <plugin-craftcommerce>
Title: How to use a note from the Line Item Model
ThreadText: # 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:
  
  ```
  <form class="shopForm" method="POST">
  <input type="hidden" name="action" value="commerce/cart/updateLineItem">
  <input type="hidden" name="redirect" value="shop/cart">
  <input type="hidden" name="lineItemId" value="{{ item.id }}">
  {{ getCsrfInput() }}
  
  <div class="field">
      <label for="note">Note</label>
      <input type="text" size="20" name="note" value="{{ item.note }}">
  </div>
  
  <div class="field">
      <label for="qty">Quantity</label>
      <input type="number" name="qty" min="1" value="{{ item.qty }}">
  </div>
  
  <input type="submit" class="btn btn-outline" value="Update">
  
  ```
  
  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 username_1, yes I checked the docs as you can see by the link. Also can we see a note in the back end?  
  
  ---
  
  