Ubercart add to cart trigger?

Posted by RD on Stack Overflow See other posts from Stack Overflow or by RD
Published on 2010-03-23T09:32:08Z Indexed on 2010/03/23 9:33 UTC
Read the original article Hit count: 478

Filed under:
|
|

I want to keep track of all items added to uber cart. I.e. Whenever someone clicks ADD TO CART, I want to: create a database entry of the time and item added.

This way I can see which items are most clicked on.

The logic to add it to a db etc is easy to do. What I need to know is, how do I plug into the "add to cart" part. I.e. How do I know when this has been clicked?

© Stack Overflow or respective owner

Related posts about ubercart

Related posts about drupal