View Single Post
  #25  
Old 07-02-2005, 01:01 PM
 
hfwd hfwd is offline
 

Newbie
  
Join Date: Aug 2004
Posts: 8
 

Default

Hello,

If you want the customer note and cc details to be included in the email sent to the store admin, and NOT to the customer, you can do this:

1. Duplicate mail/html/order_invoice.tpl, call it order_invoice_admin.tpl.
2. Next, in the original file mail/html/order_invoice.tpl, delete these lines:

Quote:
{if $config.Email.show_cc_info eq "Y" and $show_order_details eq "Y"}

<TR>
<TD colspan="3"></TD>
</TR>

<TR>
<TD width="45%" height="25">{$lng.lbl_order_payment_details}</TD>
<TD colspan="2" width="55%"></TD>
</TR>

<TR>
<TD bgColor="#000000" height="2">[img]{$ImagesDir}/spacer_black.gif[/img]</TD>
<TD colspan="2">[img]{$ImagesDir}/spacer.gif[/img]</TD>
<TR>
<TD colSpan="3">[img]{$ImagesDir}/spacer.gif[/img]</TD>
</TR>

<TR>
<TD colspan="3">{$order.details|replace:"\n":"
"}</TD>
</TR>

{/if}

3. Next, edit mail/html/order_notification_admin.tpl.

Change:

Quote:

{include file="mail/html/order_invoice.tpl" to_admin="Y"}

To:

Quote:
{include file="mail/html/order_invoice_admin.tpl" to_admin="Y"}

If you use non-HTML email, simply do the same thing to mail/order_invoice.tpl and mail/order_notification_admin.tpl

Remember to use encryption, since you are still sending cc info in email to the store admin.

Alex
P.S. My first post
__________________
X-Cart 4.0.13
PHP 4.3.10
Reply With Quote