Downloads
Allows a user to update (make changes to) the options of an existing item that is already in the user's cart.
This is a work in progress, in response to a need that has been discussed here http://www.ubercart.org/forum/bug_reports/2748/product_links_cart
and here
http://www.ubercart.org/forum/ideas_and_suggestions/2821/change_attribut...
An "update cart" form is placed on the product page just above the "add to cart" form if the user already has the product in his/her cart. Thus there exists both the ability to change the existing items(s) in the cart as well as add new item.
Currently this module only works with single products and not product kits.
If you're a coder, your feed back would be greatly appreciated.
I am using hook_nodeapi with $op='view' to then call the update form. The update form code is pretty much a copy of similar code seen in the uc_cart, uc_product and uc_attributes modules. There are some additional comments in the code itself.
I am not if this is the best route to go. Maybe this is just a proof of concept.
I've attached in both .tar.gz and .zip
Development
| Preview | Attachment | Size |
|---|---|---|
| uc_orderupdate.tar.gz | 2.69 KB | |
| uc_orderupdate.zip | 3.11 KB |
