View Single Post
  #2  
Old 02-04-2003, 03:00 PM
 
TeeJay TeeJay is offline
 

Advanced Member
  
Join Date: Oct 2002
Location: UK
Posts: 85
 

Default Support message that I received on a similar problem

Here are instructions how to eliminate email notifications about initially plased orders (orders with status I):

You can fix this issue for X-cart version 3.3.X in a following way:

Edit script include/func.php
find the following piece of code (it is located in the function func_place_order() line 116:

====
func_send_mail($config["Company"]["orders_department"], "mail/order_notification_subj.tpl", "mail/order_notification_admin.tpl", $userinfo["email"], true, true);

func_send_mail($userinfo["email"], "mail/order_customer_subj.tpl", "mail/order_customer.tpl", $config["Company"]["orders_department"], false);
====
and comment these 2 lines (symbol #):
====
#func_send_mail($config["Company"]["orders_department"], "mail/order_notification_subj.tpl", "mail/order_notification_admin.tpl", $userinfo["email"], true, true);

#func_send_mail($userinfo["email"], "mail/order_customer_subj.tpl", "mail/order_customer.tpl", $config["Company"]["orders_department"], false);
====
X-cart will stop sending you notifications of orders preplacement.
__________________
X-Cart 4.0

Windoze XP Pro
Sick and tired of figuring out code just wanna get on with my life and selling my goods, it\'s raining here too
Reply With Quote