I've been playing around with creating my own contribs, i want to be able to validate / control when users update their cart (changing quantity), but update_cart_item seems like a strange one. I was hoping for somthing more like add_to_cart.
For a start its in product.module not cart.module as you might expect?
Also it seems to not be a hookable function as its called with module_invoke not module_invoke_all.
All that said, I'm new to this level of module development so may have the wrong end of the stick - or wrong stick.
Why i care :
I have a product (ticket) which has a attribute (email), buying 3 tickets with different email addresses is expected, but NOT 3 tickets with the same email address.
Ideas?




Joined: 01/02/2008