Thanks for the example

strae's picture
Offline
Joined: 02/08/2010
Juice: 13
Thanks for the example

Looking at the example provided in this thread and at module uc_roles shipped with ubercart, i've been albe to set-up my module for a custom feature to products.

My goal is to create a feature where the administrator can associate a Simplenews Taxonomy term to the products, and when the customer buy the produce should be subscribed to that newsletter.

I've been able to set up the module to crate, edit and delete the feature (pretty simple with the example provided), but now I dont understand what hooks are available when a user buy the product, in order to subscribe him to the newsletter.. any help?