I'm working on a site that uses UC Node Checkout for a paid directory listing type of site. This involves quite a bit of custom code at this point, but it seems to be working well.
What I'd like to be able to do, is add configurable products w/ attributes to a cart, with a hook, or function in my module to do that logic to determine the correct product.
There is also some additional logic to determine which product to create and so on (via roles, and other).
Can this be done with uc_cart_add_item()? I've also tried hook_add_to_cart and hook_cart_item.
Or could I use hook_add_to_cart_data (from hook_nodeapi in UC Node checkout) ?



Joined: 10/15/2008