X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   How to remove 'Invoice:' from confirmation mail (https://forum.x-cart.com/showthread.php?t=33553)

Pipkin 08-29-2007 05:31 AM

How to remove 'Invoice:' from confirmation mail
 
I want to remove the tekst 'Invoice:' just above the main header 'Invoice' in the order confirmation mail sent to customers.

Which file do I edit?

balinor 08-29-2007 05:35 AM

Re: How to remove 'Invoice:' from confirmation mail
 
Be sure to read the 'Template Editing Guide', and also use Webmaster Mode to determine which template is which. The one you are looking for is skin1/mail/html/order_invoice.tpl

Pipkin 08-29-2007 06:12 AM

Re: How to remove 'Invoice:' from confirmation mail
 
Sorry - I can't seem to find the line of code to edit...:-?

WebboT 08-29-2007 10:40 AM

Re: How to remove 'Invoice:' from confirmation mail
 
Take a look around line 35 in skin1/mail/html/order_invoice.tpl

I have an old X-cart version, maybe yours not the same....

Code:

{config_load file="$skin_config"}
{literal}
<STYLE type="text/css">
BODY {
    MARGIN-TOP: 10px;
    FONT-SIZE: 12px;
    MARGIN-LEFT: 10px;
    FONT-FAMILY: arial,helvetica,sans-serif
}
TD {
    FONT-SIZE: 12px;
    FONT-FAMILY: arial,helvetica,sans-serif
}
TH {
    FONT-SIZE: 13px;
    FONT-FAMILY: arial,helvetica,sans-serif
}
H1 {
    FONT-SIZE: 20px
}
</STYLE>
{/literal}

<table cellSpacing="0" cellPadding="0" width="600" bgColor="#ffffff" border="0" color="#000000">
  <tr>
    <td>
    <table cellSpacing="0" cellPadding="0" width="100%" border="0"><tr>
        <td vAlign="top"><br>
     
      </td>
        <td width="100%">
        <table cellSpacing="0" cellPadding="2" width="100%" border="0">
          <tr>
            <td width="30">&nbsp;</td>
            <td vAlign="top"><font style="FONT-SIZE: 28px"><b>INVOICE</b></font>
            <br>
            <br>
            <b>Date:</b>


Pipkin 08-29-2007 03:16 PM

Re: How to remove 'Invoice:' from confirmation mail
 
Thanks, but I didn't want to remove the 'Invoice' heading - just the unnecessary 'Invoice:' piece of text just above.

After some light detective work, I found it in skin1/mail/html/order_customer.tpl:

Code:

{* $Id: order_customer.tpl,v 1.6 2006/03/31 05:51:43 svowl Exp $ *}
{config_load file="$skin_config"}
{include file="mail/html/mail_header.tpl"}

<p />{$lng.eml_dear|substitute:"customer":"`$order.title` `$order.firstname` `$order.lastname`"}

<p />{$lng.eml_thankyou_for_order}

<p /><b>{$lng.lbl_invoice}:</b>

<p />{include file="mail/html/order_invoice.tpl"}

{include file="mail/html/signature.tpl"}


Cheers! O:)


All times are GMT -8. The time now is 02:31 AM.

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