Commerce ajax cart edit

Categories

Component ID

1597470

Component name

Commerce ajax cart edit

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Provides a views handler that produces a product and line item edit form for an item in the cart.

NOTE: at the moment this module depends on patch in http://drupal.org/node/1211278#comment-6007340.

Setup:
Prerequisite: apply patch listed above to latest commerce dev.

1. Enable module
2. Edit the cart view (Shopping cart form)
3. Give your view rows a unique class. A good idea is to use the line item id token.
4. Add the field "Ajax Cart Line Item Edit link." If your view is a table, you probably want to check "Add wrapping html" so that a table row element gets added around the edit form fragment when it spawns.
5. Set the jQuery selector to the same value as your row class (you do need to add a "." before it so that jQuery knows its a class).