Revision: 39053
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at January 12, 2011 21:58 by nico65
Initial Code
/* $sendTo = array( array( 'email' => $this->getCustomerEmail(), 'name' => $customerName ) ); */ if ($copyTo && $copyMethod == 'copy') { foreach ($copyTo as $email) { $sendTo[] = array( 'email' => $email, 'name' => null ); } }
Initial URL
http://stackoverflow.com/questions/4647648/magento-how-to-send-order-emails-only-to-the-admin-not-to-customer/4667909#4667909
Initial Description
Overlook sending of emails in Mage_Sales_Model_Order->sendNewOrderEmail(), remove sending to customer from there. (around line 872)
Initial Title
prevent cutomer from getting order emails
Initial Tags
magento
Initial Language
PHP