<p>I use ajax autosave to achieve this, and ajax update the cart in the background (for notes, but also pretty much everything else).</p>

<p>I essentially use the recipe from:
from <a href="https://github.com/geniuscarrier/autoSave/" rel="noreferrer">https://github.com/geniuscarrier/autoSave/</a></p>

<p>In the callback function that is called after the autosave event, I post the to the update cart controller.  The JSON object that comes back from an ajax request is quite complete and let's your update your cart page / totals etc from there.</p>

<p>Personally I hate non dynamic carts with update buttons, so I have ajaxed all cart operations, including qty changes, removals, line item and order notes etc.</p>

CC BY-SA 3.0
2016-04-06T03:50:46.877Z
2016-04-06T03:50:46.877Z
Jeremy Daalder
<p>Currently, a user has to click update on each line item to save changes to quantity or a note. The quantity might make sense to the user as it updates the price, but a user could assume that the note would just need to be filled out.</p>

<p>Wondering if there's a simple way to allow the user to fill out notes without clicking update and have them save.</p>

<plugin-craftcommerce>
Can notes on line items be updated on checkout?
# Can notes on line items be updated on checkout?

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

Currently, a user has to click update on each line item to save changes to quantity or a note. The quantity might make sense to the user as it updates the price, but a user could assume that the note would just need to be filled out.

Wondering if there's a simple way to allow the user to fill out notes without clicking update and have them save.

**Tags:** plugin-craftcommerce

---

## 1 answers

### Answer by username_1 on 2016-04-06. Score: 5

I use ajax autosave to achieve this, and ajax update the cart in the background (for notes, but also pretty much everything else).

I essentially use the recipe from:
from <https://github.com/geniuscarrier/autoSave/>

In the callback function that is called after the autosave event, I post the to the update cart controller. The JSON object that comes back from an ajax request is quite complete and let's your update your cart page / totals etc from there.

Personally I hate non dynamic carts with update buttons, so I have ajaxed all cart operations, including qty changes, removals, line item and order notes etc.


---

