Guest Posted September 25, 2005 Share Posted September 25, 2005 Hello CubeCarters, If somebody order products with the order form. At last the computer asks for printing the bill. But my guestion is: Is it normal that you don`t get the bill to the customers e-mail? If i change the order status, the e-mails sending to customers work. ( sorry for my english ) Greetings, Hugo de Groot http://www.klassiekegeuren.nl/parfums/ Quote Link to comment Share on other sites More sharing options...
Guest estelle Posted September 25, 2005 Share Posted September 25, 2005 Yes, it is normal. This is how CubeCart currently works. An email is sent only when payment is confirmed (ie. when the state is set to Processing). Quote Link to comment Share on other sites More sharing options...
Guest Posted September 26, 2005 Share Posted September 26, 2005 Thank you for your answer, is it possible to make that happen? Quote Link to comment Share on other sites More sharing options...
Guest estelle Posted September 26, 2005 Share Posted September 26, 2005 Yes, it would be possible. You would need to modify includes/content/gateway.inc.php, somewhere near the line: // notify shop owner of new order You would probably also want to put your email format in your lang file, somewhere near: 'newOrderMsg' => "A customer has just made the order %s, to view this order please follow the link below: \r\n\r\n%s", 'newOrderSubj' => "New Store Order Placed", Estelle. Quote Link to comment Share on other sites More sharing options...
Guest Posted September 26, 2005 Share Posted September 26, 2005 Hello Estelle, Thanks for you information.. But can you explain me what to change? // notify shop owner of new order include("classes/htmlMimeMail.php"); $mail = new htmlMimeMail(); $text = sprintf($lang['front']['gateway']['newOrderMsg'],$cart_order_id, $GLOBALS['storeURL']."/admin/orders/index.php?oid=".$cart_order_id); $mail->setText($text); $mail->setReturnPath($config['masterEmail']); $mail->setFrom($config['masterEmail']); $mail->setSubject($lang['front']['gateway']['newOrderSubj']); $mail->setHeader('X-Mailer', 'CubeCart Mailer'); $send = $mail->send(array($config['masterEmail']), $config['mailMethod']); ----- Thanks, Hugo Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.