Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Stop displaying order receipt number in customer email

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #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
  #2  
Old 07-08-2005, 02:27 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Moving this over to custom mods...
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 08:31 PM.

   

 
X-Cart forums © 2001-2020