Jump to content

Mailing when somebody placed order


Guest

Recommended Posts

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/

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...