X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   Stop displaying order receipt number in customer email (https://forum.x-cart.com/showthread.php?t=14945)

hfwd 07-02-2005 04:47 PM

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.

balinor 07-08-2005 02:27 PM

Moving this over to custom mods...


All times are GMT -8. The time now is 01:44 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.