Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to stop oscommerce from sending email after confirmed order.


Recommended Posts

Posted (edited)

Hi Guys,

 

Could anyone pls kindly advise me what should i do to prevent OSCommerce from sending "order status" email after the order is confirmed?

I need to send customer my own customised email by myself instead of OSCommerce auto sending email to them.

 

Please any kind soul tell me how to stop email from sending out to my customer after the order is confirmed.

 

Thank you and best regards :)

Edited by Rolento
Posted

Around line 258 in catalog/checkout_process.php

 

find

 

tep_mail($order->customer['firstname'] . ' ' . $order->customer['lastname'], $order->customer['email_address'], EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);

 

and make it

 

// tep_mail($order->customer['firstname'] . ' ' . $order->customer['lastname'], $order->customer['email_address'], EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);

 

That should just skip the email to customer.

 

HTH

Tom

Posted

Thanks you so much, Tom. :)

 

Really appreciate your kind help.

 

Will try it.

 

Best regards

 

Around line 258 in catalog/checkout_process.php

 

find

 

tep_mail($order->customer['firstname'] . ' ' . $order->customer['lastname'], $order->customer['email_address'], EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);

 

and make it

 

// tep_mail($order->customer['firstname'] . ' ' . $order->customer['lastname'], $order->customer['email_address'], EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);

 

That should just skip the email to customer.

 

HTH

Tom

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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...