I am trying Ubercart 7x-3.8 for the first time on my ski club web site, which uses Drupal 7.36. Our products would be club events such as ski trips, dinners, social activities, etc.

Each of these "products" has an event leader who is responsible for organizing the event and keeping track of who has registered.

By default, Ubercart sends a New Order notification to the store email address each time an order is placed. I would like to add a field to each product that would hold the email address of the event leader for that product. Then I would like to modify the New Order notification so that emails are sent to the event leader for the ordered product instead of to the store email address.

It is possible that someone would have more than one event in their cart, and would purchase all of them in a single order. In that case, I would need to send the email to each of the event leaders for the ordered products.

Where is the code that creates the notification email and determines what address to use for sending the email? Any suggestions on how I could make this work?