Downloads
When an item is updated into cart, uc_cart module call hook 'update_cart_item':
module_invoke($data['module'], 'update_cart_item', $node->nid, $data, min($qty, 999999), $cid);
but when new item is added no hook is called for this action. I think to provide a specific hook for this option is desirable to maintain concordance between flows.
Attached a patch for uc_cart.module,v 1.15.2.36 2010/08/11 15:09:54 islandusurper
Development
| Preview | Attachment | Size |
|---|---|---|
| uc_cart.patch | 497 bytes |
