Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

Murat Hasdemir
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Murat Hasdemir
Front End Web Development Techdegree Graduate 20,968 Points

sending email to producer/producers of item in cart on check-out.

First of all English is not my native language so if my writing don't make any sense I will try to write it in a better shape. Now here is my question is there way that we send out automatic e-mails to companies we work with to make them work product right away. I know it sounds a little bit creepy but the point is I need a fast way to give team (companies I work with and my delivery team) info about new order that given and they get it delivered fast.

For info I'm new for wp and woocommerce, before I work with drupal and ubercart but as long as I know they dont have that ability.

1 Answer

Andrew Shook
Andrew Shook
31,709 Points

You could right a custom plugin to do what you need. You would need to hook into the "submit order" action. Then you could look for author ID or a custom field to pull the sellers information. Once you have their information you could easily generate an email.