View Single Post
  #1  
Old 07-02-2005, 04:47 PM
 
hfwd hfwd is offline
 

Newbie
  
Join Date: Aug 2004
Posts: 8
 

Default Stop displaying order receipt number in customer email

Hi guys,

To stop displaying order receipt # in customer order confirmation email,

1. edit skin1/mail/html/order_notification.tpl

Delete or comment out the following code:
Quote:

{$lng.eml_this_is_order} #{$order.orderid} {$lng.eml_notification}.

2. edit include/func.php.

Find the following code in func_send_mail function:
Quote:
@mail($to,$mail_subject,$mail_message,$headers, "-f".$m[1]);

Change to:
Quote:
@mail($to,"Order Receipt",$mail_message,$headers, "-f".$m[1]);

Also, on the next line right after that:

Quote:
@mail($to,$mail_subject,$mail_message,$headers);

Change to:

Quote:
@mail($to,"Order Receipt",$mail_message,$headers);

If you are using non-HTML email, you need to do these two steps to skin1/mail/order_notification.tpl and change $m_subject in function func_send_simple_mail in func.php.
__________________
X-Cart 4.0.13
PHP 4.3.10
Reply With Quote