Change cart/add to the more versatile cart/[nid]/[op][qty] format described in #698988: cart/add doesn't add, but set the quantity.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 783790.patch | 6.63 KB | xen |
Change cart/add to the more versatile cart/[nid]/[op][qty] format described in #698988: cart/add doesn't add, but set the quantity.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 783790.patch | 6.63 KB | xen |
Comments
Comment #1
xen commentedRemoved ec_cart_add, ec_cart_delete and ec_cart_edit, and replaced them by ec_cart_modify.
Fixed up tests, and added some missing breaks.
There's probably still room for some general refactoring of ec_cart, but this is a start.
Comment #2
gordon commentedThanks I have committed this.