Forums / General Questions / How not to send email on downloadable only orders

How not to send email on downloadable only orders

Locked

Started by kittymcooper on 14 Mar 2008, 11:41 PM · Views: 822

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
14 Mar 2008, 11:41 PM
#1
kittymcooper avatar

kittymcooper

New Zenner

Join Date:
Mar 2008
Location:
Fort Collins, CO
Posts:
1
Plugin Contributions:
0

How not to send email on downloadable only orders

Is there a nice way to prevent emails from coming to the admin on orders that consist of only downloadable products?

The only thing I could think of was to put a kludge into order.php which sends no email to SEND_EXTRA_ORDER_EMAILS_TO when it finds the string "Free Shipping:" in the order email. Seems like this should be configurable somewhere but I did not find it.


Kitty Munson Cooper, web designer and programmer
Fort Collins, CO
http://www.openskywebdesign.com/
http://www.kittycooper.com