Re: Hi Ryan, Thanks for your

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15453
Re: Hi Ryan, Thanks for your

You probably just need to change the name of the function. Any implementation of hook_cart_item() will get called at the appropriate time, but the prefix of the function has to be the name of the module. So your function would work if the module name is commerceclasses.module.

Programatically adding an item to the cart By: hyperbole@drupal.org (7 replies) Thu, 10/04/2007 - 16:40