Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fancier Invoice & Packingslip v1.0


PopTheTop

Recommended Posts

Anyone know a fix for this?

Search the forum and contributions before posting. If that doesn't work, keep looking, then post. The forum is for seeking help and advice NOT for someone to do your work for you. Try to do something on your on, if you are going to run a shop then learn how it works.

Link to comment
Share on other sites

Anyone know a fix for this?

The usual problems for this contrib are due to not having the absolute paths specified correctly. Remember there are 4 configure.php files to consider.

Link to comment
Share on other sites

The usual problems for this contrib are due to not having the absolute paths specified correctly. Remember there are 4 configure.php files to consider.

 

 

That doesn't help me that much I have already checked them. Can you please be a little more specific as to what you are referring to and what I need to be looking for or at?. If you would have read my prior posts you would have seen I had already gone through the configure.php.

 

Anyone know why this is happening?

Search the forum and contributions before posting. If that doesn't work, keep looking, then post. The forum is for seeking help and advice NOT for someone to do your work for you. Try to do something on your on, if you are going to run a shop then learn how it works.

Link to comment
Share on other sites

Below is my config file and everything looks correct to me. It looks like I am not the only one having this problem. Can someone please help?

 

// Folder Definitions
define('DIR_FS_ADMIN', '/home/txcampin/public_html/catalog/admin/'); // absolute path required
define('EMAIL_INVOICE_DIR', 'email_invoice/');
define('INVOICE_TEMPLATE_DIR', 'templates/');

// Email Invoice File Definitions
define('FILENAME_EMAIL_INVOICE', 'email_invoice.php');
define('FILENAME_EMAIL_CACHE_FILE', 'temp_cache.php');
define('FILENAME_ORDERS_INVOICE', 'invoice.php');

 

 

-Thanks

Search the forum and contributions before posting. If that doesn't work, keep looking, then post. The forum is for seeking help and advice NOT for someone to do your work for you. Try to do something on your on, if you are going to run a shop then learn how it works.

Link to comment
Share on other sites

Ok I have fixed this, not really a bug just an over look but for those that are having this problem as well here you go. As I have stated ealier in includes/local/configure.php find this line.

 

// Folder Definitions
define('DIR_FS_ADMIN', '/home/YOUR_DOMAIN/public_html/catalog/admin/'); // absolute path required

 

You noticed it says YOUR_DOMAIN. You just need to replace that with your correct file path on your server like it is below. use your own file path, that is just an example below of mine.

 

 

define('DIR_FS_ADMIN', '/home/txcampin/public_html/catalog/admin/'); // absolute path required

 

 

 

Now after you do that and you are still having problems this is where it got me and after staring at this for hours and hours on end. It finally hit me. by default the file path is /home/YOUR_DOMAIN/public_html/catalog/admin/ when you install this. Well by default it includes "catalog" in the file path. So if your store is in the root dir of your server that will not work. So just take out the catalog to look like the example below and plug in your domain and you should be good to go if your store is install in the toot dir. of your store.

 

define('DIR_FS_ADMIN', '/home/txcampin/public_html/admin/'); // absolute path required

Edited by Silverado05

Search the forum and contributions before posting. If that doesn't work, keep looking, then post. The forum is for seeking help and advice NOT for someone to do your work for you. Try to do something on your on, if you are going to run a shop then learn how it works.

Link to comment
Share on other sites

Hello again, I have come across another small issue. If you look at the pic below in the red box that is the comment box from the HTML_invoice. Well you'll notice the borders are missing and it does this in both Hotmail and outlook. I have looked into the file for that and can't really see anything wrong. Has anyone else come across this or know a fix for it?

 

 

-Thanks

 

 

htmlinvoicely4.png

Search the forum and contributions before posting. If that doesn't work, keep looking, then post. The forum is for seeking help and advice NOT for someone to do your work for you. Try to do something on your on, if you are going to run a shop then learn how it works.

Link to comment
Share on other sites

Hello again, I have come across another small issue. If you look at the pic below in the red box that is the comment box from the HTML_invoice. Well you'll notice the borders are missing and it does this in both Hotmail and outlook. I have looked into the file for that and can't really see anything wrong. Has anyone else come across this or know a fix for it?

-Thanks

htmlinvoicely4.png

Don't know about hotmail, but it is an issue with otlook 2007.

Link to comment
Share on other sites

Thanks for the reply, the version of Outlook I am using is 2002. I have gone through all the templates and made sure all the paths for the borders are correct and they were. So it must also be an issue period. It would have to be in the template somewhere correct? Has this been brought up before or anyone else have this problem?

 

-Thanks

Search the forum and contributions before posting. If that doesn't work, keep looking, then post. The forum is for seeking help and advice NOT for someone to do your work for you. Try to do something on your on, if you are going to run a shop then learn how it works.

Link to comment
Share on other sites

Thanks for the reply, the version of Outlook I am using is 2002. I have gone through all the templates and made sure all the paths for the borders are correct and they were. So it must also be an issue period. It would have to be in the template somewhere correct? Has this been brought up before or anyone else have this problem?

 

-Thanks

Don't know about outlook 2002. My guess is if it looks ok in admin, it has to be an email client problem. Did you view hotmail via the web or in outlook?

Link to comment
Share on other sites

I looked at it via web in both IE and FF. Yes it looks ok in Admin, it's just in the email that has the problem.

Search the forum and contributions before posting. If that doesn't work, keep looking, then post. The forum is for seeking help and advice NOT for someone to do your work for you. Try to do something on your on, if you are going to run a shop then learn how it works.

Link to comment
Share on other sites

I looked at it via web in both IE and FF. Yes it looks ok in Admin, it's just in the email that has the problem.

I use outlook 2000, and the emails are ok. My wife uses outlook 2007, and the emails are like yours but worse. When I forward the email from her to me, the email is still stuffed. It has somethingto do with outlook 2007 using word as the html editor.

 

Perhaps others can let us know about outlook 2002?

Edited by Coopco
Link to comment
Share on other sites

So if it works in 2000 and I am using 2002 it it starts with Outlook 2001-2002 that the problem occurs. It still doesn't explain why it does it in Hotmail. I haven't tested it with AOL , Yahoo, or Gmail. If anyone has those and has tested it do you have problems. I have it on my bug board to fix but it's not that big of and issue at the moment since everything is working. It's all cosmetic now so I will look at it later unless anyone else has or can come up with a fix.

Search the forum and contributions before posting. If that doesn't work, keep looking, then post. The forum is for seeking help and advice NOT for someone to do your work for you. Try to do something on your on, if you are going to run a shop then learn how it works.

Link to comment
Share on other sites

So if it works in 2000 and I am using 2002 it it starts with Outlook 2001-2002 that the problem occurs. It still doesn't explain why it does it in Hotmail. I haven't tested it with AOL , Yahoo, or Gmail. If anyone has those and has tested it do you have problems. I have it on my bug board to fix but it's not that big of and issue at the moment since everything is working. It's all cosmetic now so I will look at it later unless anyone else has or can come up with a fix.

Do you want me to make a test order at your site, or do you want to make a test order at my old site?

Link to comment
Share on other sites

I just sent you a PM about the test order. Let me make a test order at you old site and let me see if it is does it on my Outlook also.

Search the forum and contributions before posting. If that doesn't work, keep looking, then post. The forum is for seeking help and advice NOT for someone to do your work for you. Try to do something on your on, if you are going to run a shop then learn how it works.

Link to comment
Share on other sites

I just sent you a PM about the test order. Let me make a test order at you old site and let me see if it is does it on my Outlook also.

My old site is police.coopco.com.au/catalog

Just use mail in payment as an option and put test order in the comments.

 

I don't have this installed on my new site because I am not happy with the result in Outlook 2007.

Link to comment
Share on other sites

Hi, I'm having a problem, the topbar.jpg logo isn't showing up in the emails, instead I get a cross with click HERE to display or hide contents

 

broken.jpg

 

Please can someone help me, I've included the source code of the email below:

 

ont-size: 10px; color: #ffffff; font-weight: bold; }.dataTableRow { =

background-color: #F0F1F1; }</STYLE>

 

ont-size: 10px; color: #ffffff; font-weight: bold; }.dataTableRow { =

background-color: #F0F1F1; }</STYLE>

 

<META content=3D"MSHTML 6.00.2900.2802" name=3DGENERATOR></HEAD>

 

<BODY bottomMargin=3D0 bgColor=3D#ffffff leftMargin=3D0 topMargin=3D0 =

rightMargin=3D0=20

marginheight=3D"0" marginwidth=3D"0"><B>From:</B> Jacqueline Moore=20

[[email protected]]<BR><B>Sent:</B> 14 June 2007 =

12:15<BR><B>To:</B>=20

my company<BR><B>Subject:</B> Order Process<BR>

<TABLE cellSpacing=3D0 cellPadding=3D2 width=3D"100%" border=3D0>

<TBODY>

<TR>

<TD align=3Dleft><IMG height=3D85=20

alt=3D"Click HERE toDisplay or Hidethe Order Comments box below =

for printing"=20

hspace=3D10 src=3D"/images/topbar.jpg" width=3D180 =

border=3D0></TD>

<TD vAlign=3Dtop noWrap align=3Dright><FONT face=3DVerdana =

color=3D#006699=20

size=3D2><STRONG>Invoice # 07-51<BR>Jun 14,=20

2007</STRONG></FONT><BR><BR><SPAN class=3DpageHeadingSM><FONT =

face=3DVerdana=20

color=3D#006699 size=3D1><STRONG>Tel: 01582 840 848<BR><BR>Natural =

By Nature=20

Oils Ltd<BR>Willow Tree Farm<BR>Pipers Lane<BR>Nr.=20

Markyate<BR>Hertfordshire<BR>AL3 =

8QF</STRONG></FONT></SPAN></TD></TR>

<TR>

<TD colSpan=3D2>

<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"100%" border=3D0>

<TBODY>

<TR>

<TD>

<TABLE cellSpacing=3D0 cellPadding=3D2 width=3D"100%" =

border=3D0>

<TBODY>

<TR>

<TD colSpan=3D4>

<TABLE cellSpacing=3D0 cellPadding=3D2 width=3D"100%" =

border=3D0>

<TBODY>

<TR>

<TD width=3D"10%">

<HR SIZE=3D2>

</TD>

<TD class=3DpageHeading noWrap=20

align=3Dmiddle><EM><B>Invoice</B></EM></TD>

<TD width=3D"100%">

<HR SIZE=3D2>

</TD></TR></TBODY></TABLE></TD></TR>

<TR>

<TD colSpan=3D4><IMG height=3D5 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/pixel_trans.gif"=20

width=3D100></TD></TR>

<TR>

<TD width=3D3></TD>

<TD vAlign=3Dtop>

<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"100%" =

border=3D0>

<TBODY>

<TR>

<TD width=3D11><IMG height=3D16 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/maingrey_01.gif"=20

width=3D11></TD>

<TD=20

=

background=3Dhttp://www.mywebsite.co.uk/images/borders/maingrey_02.=

gif><IMG=20

height=3D16 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/maingrey_02.gif"=20

width=3D24></TD>

<TD width=3D19><IMG height=3D16 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/maingrey_03.gif"=20

width=3D19></TD></TR>

<TR>

<TD=20

=

background=3Dhttp://www.mywebsite.co.uk/images/borders/maingrey_04.=

gif><IMG=20

height=3D21 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/maingrey_04.gif"=20

width=3D11></TD>

<TD align=3Dmiddle bgColor=3D#f2f2f2>

<TABLE class=3Dmain cellSpacing=3D0 =

cellPadding=3D0=20

width=3D"100%" border=3D0>

<TBODY>

<TR>

<TD vAlign=3Dtop align=3Dleft><B>SOLD =

TO:</B></TD></TR>

<TR>

<TD>    <IMG height=3D5 =

alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/pixel_trans.gif"=20

width=3D1></TD></TR>

<TR>

<TD =

noWrap>    Jacqueline=20

Moore <BR>    Bay Tree =

 

Barn<BR>    The=20

=

Street<BR>    Littlehampton,=20

BN16 1JD<BR>    West =

Sussex,=20

United Kingdom</TD></TR>

<TR>

<TD>    <IMG height=3D10 =

alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/pixel_trans.gif"=20

width=3D1></TD></TR>

<TR>

<TD noWrap>    01903=20

785865</TD></TR>

<TR>

<TD=20

=

noWrap>    [email protected]</TD></TR>

<TR>

<TD><IMG height=3D7 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/pixel_trans.gif"=20

width=3D1></TD></TR></TBODY></TABLE></TD>

<TD=20

=

background=3Dhttp://www.mywebsite.co.uk/images/borders/maingrey_06.=

gif><IMG=20

height=3D21 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/maingrey_06.gif"=20

width=3D19></TD></TR>

<TR>

<TD><IMG height=3D18 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/maingrey_07.gif"=20

width=3D11></TD>

<TD=20

=

background=3Dhttp://www.mywebsite.co.uk/images/borders/maingrey_08.=

gif><IMG=20

height=3D18 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/maingrey_08.gif"=20

width=3D24></TD>

<TD><IMG height=3D18 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/maingrey_09.gif"=20

width=3D19></TD></TR></TBODY></TABLE></TD>

<TD width=3D45></TD>

<TD vAlign=3Dtop>

<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"100%" =

border=3D0>

<TBODY>

<TR>

<TD width=3D11><IMG height=3D16 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/mainwhite_01.gif" =

 

width=3D11></TD>

<TD=20

=

background=3Dhttp://www.mywebsite.co.uk/images/borders/mainwhite_02=

.gif><IMG=20

height=3D16 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/mainwhite_02.gif" =

 

width=3D24></TD>

<TD width=3D19><IMG height=3D16 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/mainwhite_03.gif" =

 

width=3D19></TD></TR>

<TR>

<TD=20

=

background=3Dhttp://www.mywebsite.co.uk/images/borders/mainwhite_04=

.gif><IMG=20

height=3D21 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/mainwhite_04.gif" =

 

width=3D11></TD>

<TD align=3Dmiddle bgColor=3D#ffffff>

<TABLE class=3Dmain cellSpacing=3D0 =

cellPadding=3D0=20

width=3D"100%" border=3D0>

<TBODY>

<TR>

<TD vAlign=3Dtop align=3Dleft><B>SHIP =

TO:</B></TD></TR>

<TR>

<TD>    <IMG height=3D5 =

alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/pixel_trans.gif"=20

width=3D1></TD></TR>

<TR>

<TD =

noWrap>    Jacqueline=20

Moore <BR>    Bay Tree =

 

Barn<BR>    The=20

=

Street<BR>    Littlehampton,=20

BN16 1JD<BR>    West =

Sussex,=20

United Kingdom</TD></TR>

<TR>

<TD>    <IMG height=3D10 =

alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/pixel_trans.gif"=20

width=3D1></TD></TR>

<TR>

<TD>    </TD></TR>

<TR>

<TD>    </TD></TR>

<TR>

<TD><IMG height=3D7 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/pixel_trans.gif"=20

width=3D1></TD></TR></TBODY></TABLE></TD>

<TD=20

=

background=3Dhttp://www.mywebsite.co.uk/images/borders/mainwhite_06=

.gif><IMG=20

height=3D21 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/mainwhite_06.gif" =

 

width=3D19></TD></TR>

<TR>

<TD><IMG height=3D18 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/mainwhite_07.gif" =

 

width=3D11></TD>

<TD=20

=

background=3Dhttp://www.mywebsite.co.uk/images/borders/mainwhite_08=

.gif><IMG=20

height=3D18 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/mainwhite_08.gif" =

 

width=3D24></TD>

<TD><IMG height=3D18 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/mainwhite_09.gif" =

 

=

width=3D19></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR>=

 

<TR>

<TD colSpan=3D2><IMG height=3D15 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/pixel_trans.gif"=20

width=3D100></TD></TR>

<TR>

<TD colSpan=3D2>

<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"100%" =

border=3D0>

<TBODY>

<TR>

<TD width=3D9></TD>

<TD>

<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"100%" =

border=3D0>

<TBODY>

<TR>

<TD width=3D11><IMG height=3D16 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/maingrey_01.gif"=20

width=3D11></TD>

<TD=20

=

background=3Dhttp://www.mywebsite.co.uk/images/borders/maingrey_02.=

gif><IMG=20

height=3D16 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/maingrey_02.gif"=20

width=3D24></TD>

<TD width=3D19><IMG height=3D16 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/maingrey_03.gif"=20

width=3D19></TD></TR>

<TR>

<TD=20

=

background=3Dhttp://www.mywebsite.co.uk/images/borders/maingrey_04.=

gif><IMG=20

height=3D21 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/maingrey_04.gif"=20

width=3D11></TD>

<TD align=3Dmiddle bgColor=3D#f2f2f2>

<TABLE class=3Dmain cellSpacing=3D0 =

cellPadding=3D0=20

width=3D"100%" border=3D0>

<TBODY>

<TR>

<TD noWrap width=3D"50%"> <B>Order =

#:</B> 51</TD>

<TD noWrap=20

=

width=3D"50%"> <B>Payment:</B> Credit Card=20

- Protx Form</TD></TR>

<TR>

<TD><IMG height=3D7 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/pixel_trans.gif"=20

width=3D1></TD></TR></TBODY></TABLE></TD>

<TD=20

=

background=3Dhttp://www.mywebsite.co.uk/images/borders/maingrey_06.=

gif><IMG=20

height=3D21 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/maingrey_06.gif"=20

width=3D19></TD></TR>

<TR>

<TD><IMG height=3D18 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/maingrey_07.gif"=20

width=3D11></TD>

<TD=20

=

background=3Dhttp://www.mywebsite.co.uk/images/borders/maingrey_08.=

gif><IMG=20

height=3D18 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/maingrey_08.gif"=20

width=3D24></TD>

<TD><IMG height=3D18 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/maingrey_09.gif"=20

=

width=3D19></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR>=

 

<TR>

<TD colSpan=3D2><IMG height=3D15 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/pixel_trans.gif"=20

width=3D1></TD></TR>

<TR>

<TD colSpan=3D2><IMG height=3D10 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/pixel_trans.gif"=20

width=3D1></TD></TR>

<TR>

<TD colSpan=3D2>

<TABLE cellSpacing=3D0 cellPadding=3D2 width=3D"100%" =

border=3D0>

<TBODY>

<TR class=3DdataTableHeadingRow>

<TD class=3DdataTableHeadingContent =

colSpan=3D2>Products</TD>

<TD class=3DdataTableHeadingContent>SKU #</TD>

<TD class=3DdataTableHeadingContent =

align=3Dright>Tax</TD>

<TD class=3DdataTableHeadingContent align=3Dright>Price =

(ex)</TD>

<TD class=3DdataTableHeadingContent align=3Dright>Price =

(inc)</TD>

<TD class=3DdataTableHeadingContent align=3Dright>Total =

(ex)</TD>

<TD class=3DdataTableHeadingContent align=3Dright>Total=20

(inc)</TD></TR>

<TR class=3DdataTableRow>

<TD class=3DdataTableContent vAlign=3Dtop =

align=3Dright>2 x</TD>

<TD class=3DdataTableContent=20

vAlign=3Dtop>Meditation<BR><NOBR><SMALL> <I> - =

sizes:=20

5ml</I></SMALL></NOBR> </TD>

<TD class=3DdataTableContent vAlign=3Dtop>603</TD>

<TD class=3DdataTableContent vAlign=3Dtop =

align=3Dright>0%</TD>

<TD class=3DdataTableContent vAlign=3Dtop=20

align=3Dright><B>=A32.99</B></TD>

<TD class=3DdataTableContent vAlign=3Dtop=20

align=3Dright><B>=A32.99</B></TD>

<TD class=3DdataTableContent vAlign=3Dtop=20

align=3Dright><B>=A35.98</B></TD>

<TD class=3DdataTableContent vAlign=3Dtop=20

align=3Dright><B>=A35.98</B></TD></TR>

<TR>

<TD align=3Dright colSpan=3D8>

<TABLE cellSpacing=3D0 cellPadding=3D2 border=3D0>

<TBODY>

<TR>

<TD class=3DsmallText =

align=3Dright>Sub-Total:</TD>

<TD class=3DsmallText =

align=3Dright>=A35.98</TD></TR>

<TR>

<TD class=3DsmallText align=3Dright>10% Discount: =

 

</TD>

<TD class=3DsmallText align=3Dright><FONT=20

color=3Dred>-=A30.60</FONT></TD></TR>

<TR>

<TD class=3DsmallText align=3Dright>(Delivery =

Charge):</TD>

<TD class=3DsmallText =

align=3Dright>=A32.50</TD></TR>

<TR>

<TD class=3DsmallText align=3Dright>Total:</TD>

<TD class=3DsmallText=20

=

align=3Dright><B>=A37.88</B></TD></TR></TBODY></TABLE></TD></TR></TBODY><=

/TABLE></TD></TR></TBODY></TABLE><BR><BR>

<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"100%" border=3D0>

<TBODY>

<TR>

<TD width=3D9></TD>

<TD>

<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"100%" =

border=3D0>

<TBODY>

<TR>

<TD width=3D11><IMG height=3D16 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/maingrey_01.gif"=20

width=3D11></TD>

<TD=20

=

background=3Dhttp://www.mywebsite.co.uk/catalog/images/borders/main=

grey_02.gif><IMG=20

height=3D16 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/maingrey_02.gif"=20

width=3D24></TD>

<TD width=3D19><IMG height=3D16 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/maingrey_03.gif"=20

width=3D19></TD></TR>

<TR>

<TD=20

=

background=3Dhttp://www.mywebsite.co.uk/catalog/images/borders/main=

grey_04.gif><IMG=20

height=3D21 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/maingrey_04.gif"=20

width=3D11></TD>

<TD align=3Dmiddle bgColor=3D#f2f2f2>

<TABLE class=3Dmain cellSpacing=3D0 cellPadding=3D0 =

width=3D"100%"=20

border=3D0>

<TBODY>

<TR>

<TD noWrap width=3D"95%"> <B>ORDER=20

COMMENTS:</B><BR><BR></TD></TR>

<TR>

<TD align=3Dmiddle width=3D"95%">

<TABLE cellSpacing=3D0 cellPadding=3D0 =

width=3D"95%"=20

border=3D0><TBODY>

<TR>

<TD class=3DsmallText width=3D"95%">

<TABLE class=3Dmain cellSpacing=3D0 =

cellPadding=3D0=20

width=3D"100%" border=3D0>

<TBODY>

<TR>

<TD class=3DsmallText vAlign=3Dtop =

align=3Dleft=20

width=3D"100%">No comments have been =

left for this=20

=

order</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR>

<TR>

<TD><IMG height=3D7 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/catalog/images/pixel_trans.gif"=20

width=3D1></TD></TR></TBODY></TABLE></TD>

<TD=20

=

background=3Dhttp://www.mywebsite.co.uk/catalog/images/borders/main=

grey_06.gif><IMG=20

height=3D21 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/maingrey_06.gif"=20

width=3D19></TD></TR>

<TR>

<TD><IMG height=3D18 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/maingrey_07.gif"=20

width=3D11></TD>

<TD=20

=

background=3Dhttp://www.mywebsite.co.uk/catalog/images/borders/main=

grey_08.gif><IMG=20

height=3D18 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/maingrey_08.gif"=20

width=3D24></TD>

<TD><IMG height=3D18 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/maingrey_09.gif"=20

=

width=3D19></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><BR>

<CENTER><SPAN class=3DsmallText><FONT face=3DVerdana=20

color=3D#006699><STRONG>Thank you for shopping at<BR>Natural By =

Nature Oils=20

=

Ltd<BR>http://www.mywebsite.co.uk</STRONG></FONT></SPAN></CENTER></=

TR></TBODY></TABLE></BODY></HTML>

 

------=_NextPart_000_0007_01C7B31C.2DF9A4A0--

Edited by leerees
Link to comment
Share on other sites

Hi, I'm having a problem, the topbar.jpg logo isn't showing up in the emails, instead I get a cross with click HERE to display or hide contents

 

broken.jpg

 

Please can someone help me, I've included the source code of the email below:

 

ont-size: 10px; color: #ffffff; font-weight: bold; }.dataTableRow { =

background-color: #F0F1F1; }</STYLE>

 

ont-size: 10px; color: #ffffff; font-weight: bold; }.dataTableRow { =

background-color: #F0F1F1; }</STYLE>

 

<META content=3D"MSHTML 6.00.2900.2802" name=3DGENERATOR></HEAD>

 

<BODY bottomMargin=3D0 bgColor=3D#ffffff leftMargin=3D0 topMargin=3D0 =

rightMargin=3D0=20

marginheight=3D"0" marginwidth=3D"0"><B>From:</B> Jacqueline Moore=20

[[email protected]]<BR><B>Sent:</B> 14 June 2007 =

12:15<BR><B>To:</B>=20

my company<BR><B>Subject:</B> Order Process<BR>

<TABLE cellSpacing=3D0 cellPadding=3D2 width=3D"100%" border=3D0>

<TBODY>

<TR>

<TD align=3Dleft><IMG height=3D85=20

alt=3D"Click HERE toDisplay or Hidethe Order Comments box below =

for printing"=20

hspace=3D10 src=3D"/images/topbar.jpg" width=3D180 =

border=3D0></TD>

<TD vAlign=3Dtop noWrap align=3Dright><FONT face=3DVerdana =

color=3D#006699=20

size=3D2><STRONG>Invoice # 07-51<BR>Jun 14,=20

2007</STRONG></FONT><BR><BR><SPAN class=3DpageHeadingSM><FONT =

face=3DVerdana=20

color=3D#006699 size=3D1><STRONG>Tel: 01582 840 848<BR><BR>Natural =

By Nature=20

Oils Ltd<BR>Willow Tree Farm<BR>Pipers Lane<BR>Nr.=20

Markyate<BR>Hertfordshire<BR>AL3 =

8QF</STRONG></FONT></SPAN></TD></TR>

<TR>

<TD colSpan=3D2>

<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"100%" border=3D0>

<TBODY>

<TR>

<TD>

<TABLE cellSpacing=3D0 cellPadding=3D2 width=3D"100%" =

border=3D0>

<TBODY>

<TR>

<TD colSpan=3D4>

<TABLE cellSpacing=3D0 cellPadding=3D2 width=3D"100%" =

border=3D0>

<TBODY>

<TR>

<TD width=3D"10%">

<HR SIZE=3D2>

</TD>

<TD class=3DpageHeading noWrap=20

align=3Dmiddle><EM><B>Invoice</B></EM></TD>

<TD width=3D"100%">

<HR SIZE=3D2>

</TD></TR></TBODY></TABLE></TD></TR>

<TR>

<TD colSpan=3D4><IMG height=3D5 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/pixel_trans.gif"=20

width=3D100></TD></TR>

<TR>

<TD width=3D3></TD>

<TD vAlign=3Dtop>

<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"100%" =

border=3D0>

<TBODY>

<TR>

<TD width=3D11><IMG height=3D16 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/maingrey_01.gif"=20

width=3D11></TD>

<TD=20

=

background=3Dhttp://www.mywebsite.co.uk/images/borders/maingrey_02.=

gif><IMG=20

height=3D16 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/maingrey_02.gif"=20

width=3D24></TD>

<TD width=3D19><IMG height=3D16 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/maingrey_03.gif"=20

width=3D19></TD></TR>

<TR>

<TD=20

=

background=3Dhttp://www.mywebsite.co.uk/images/borders/maingrey_04.=

gif><IMG=20

height=3D21 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/maingrey_04.gif"=20

width=3D11></TD>

<TD align=3Dmiddle bgColor=3D#f2f2f2>

<TABLE class=3Dmain cellSpacing=3D0 =

cellPadding=3D0=20

width=3D"100%" border=3D0>

<TBODY>

<TR>

<TD vAlign=3Dtop align=3Dleft><B>SOLD =

TO:</B></TD></TR>

<TR>

<TD>    <IMG height=3D5 =

alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/pixel_trans.gif"=20

width=3D1></TD></TR>

<TR>

<TD =

noWrap>    Jacqueline=20

Moore <BR>    Bay Tree =

 

Barn<BR>    The=20

=

Street<BR>    Littlehampton,=20

BN16 1JD<BR>    West =

Sussex,=20

United Kingdom</TD></TR>

<TR>

<TD>    <IMG height=3D10 =

alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/pixel_trans.gif"=20

width=3D1></TD></TR>

<TR>

<TD noWrap>    01903=20

785865</TD></TR>

<TR>

<TD=20

=

noWrap>    [email protected]</TD></TR>

<TR>

<TD><IMG height=3D7 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/pixel_trans.gif"=20

width=3D1></TD></TR></TBODY></TABLE></TD>

<TD=20

=

background=3Dhttp://www.mywebsite.co.uk/images/borders/maingrey_06.=

gif><IMG=20

height=3D21 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/maingrey_06.gif"=20

width=3D19></TD></TR>

<TR>

<TD><IMG height=3D18 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/maingrey_07.gif"=20

width=3D11></TD>

<TD=20

=

background=3Dhttp://www.mywebsite.co.uk/images/borders/maingrey_08.=

gif><IMG=20

height=3D18 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/maingrey_08.gif"=20

width=3D24></TD>

<TD><IMG height=3D18 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/maingrey_09.gif"=20

width=3D19></TD></TR></TBODY></TABLE></TD>

<TD width=3D45></TD>

<TD vAlign=3Dtop>

<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"100%" =

border=3D0>

<TBODY>

<TR>

<TD width=3D11><IMG height=3D16 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/mainwhite_01.gif" =

 

width=3D11></TD>

<TD=20

=

background=3Dhttp://www.mywebsite.co.uk/images/borders/mainwhite_02=

.gif><IMG=20

height=3D16 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/mainwhite_02.gif" =

 

width=3D24></TD>

<TD width=3D19><IMG height=3D16 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/mainwhite_03.gif" =

 

width=3D19></TD></TR>

<TR>

<TD=20

=

background=3Dhttp://www.mywebsite.co.uk/images/borders/mainwhite_04=

.gif><IMG=20

height=3D21 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/mainwhite_04.gif" =

 

width=3D11></TD>

<TD align=3Dmiddle bgColor=3D#ffffff>

<TABLE class=3Dmain cellSpacing=3D0 =

cellPadding=3D0=20

width=3D"100%" border=3D0>

<TBODY>

<TR>

<TD vAlign=3Dtop align=3Dleft><B>SHIP =

TO:</B></TD></TR>

<TR>

<TD>    <IMG height=3D5 =

alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/pixel_trans.gif"=20

width=3D1></TD></TR>

<TR>

<TD =

noWrap>    Jacqueline=20

Moore <BR>    Bay Tree =

 

Barn<BR>    The=20

=

Street<BR>    Littlehampton,=20

BN16 1JD<BR>    West =

Sussex,=20

United Kingdom</TD></TR>

<TR>

<TD>    <IMG height=3D10 =

alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/pixel_trans.gif"=20

width=3D1></TD></TR>

<TR>

<TD>    </TD></TR>

<TR>

<TD>    </TD></TR>

<TR>

<TD><IMG height=3D7 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/pixel_trans.gif"=20

width=3D1></TD></TR></TBODY></TABLE></TD>

<TD=20

=

background=3Dhttp://www.mywebsite.co.uk/images/borders/mainwhite_06=

.gif><IMG=20

height=3D21 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/mainwhite_06.gif" =

 

width=3D19></TD></TR>

<TR>

<TD><IMG height=3D18 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/mainwhite_07.gif" =

 

width=3D11></TD>

<TD=20

=

background=3Dhttp://www.mywebsite.co.uk/images/borders/mainwhite_08=

.gif><IMG=20

height=3D18 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/mainwhite_08.gif" =

 

width=3D24></TD>

<TD><IMG height=3D18 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/mainwhite_09.gif" =

 

=

width=3D19></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR>=

 

<TR>

<TD colSpan=3D2><IMG height=3D15 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/pixel_trans.gif"=20

width=3D100></TD></TR>

<TR>

<TD colSpan=3D2>

<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"100%" =

border=3D0>

<TBODY>

<TR>

<TD width=3D9></TD>

<TD>

<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"100%" =

border=3D0>

<TBODY>

<TR>

<TD width=3D11><IMG height=3D16 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/maingrey_01.gif"=20

width=3D11></TD>

<TD=20

=

background=3Dhttp://www.mywebsite.co.uk/images/borders/maingrey_02.=

gif><IMG=20

height=3D16 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/maingrey_02.gif"=20

width=3D24></TD>

<TD width=3D19><IMG height=3D16 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/maingrey_03.gif"=20

width=3D19></TD></TR>

<TR>

<TD=20

=

background=3Dhttp://www.mywebsite.co.uk/images/borders/maingrey_04.=

gif><IMG=20

height=3D21 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/maingrey_04.gif"=20

width=3D11></TD>

<TD align=3Dmiddle bgColor=3D#f2f2f2>

<TABLE class=3Dmain cellSpacing=3D0 =

cellPadding=3D0=20

width=3D"100%" border=3D0>

<TBODY>

<TR>

<TD noWrap width=3D"50%"> <B>Order =

#:</B> 51</TD>

<TD noWrap=20

=

width=3D"50%"> <B>Payment:</B> Credit Card=20

- Protx Form</TD></TR>

<TR>

<TD><IMG height=3D7 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/pixel_trans.gif"=20

width=3D1></TD></TR></TBODY></TABLE></TD>

<TD=20

=

background=3Dhttp://www.mywebsite.co.uk/images/borders/maingrey_06.=

gif><IMG=20

height=3D21 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/maingrey_06.gif"=20

width=3D19></TD></TR>

<TR>

<TD><IMG height=3D18 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/maingrey_07.gif"=20

width=3D11></TD>

<TD=20

=

background=3Dhttp://www.mywebsite.co.uk/images/borders/maingrey_08.=

gif><IMG=20

height=3D18 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/maingrey_08.gif"=20

width=3D24></TD>

<TD><IMG height=3D18 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/maingrey_09.gif"=20

=

width=3D19></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR>=

 

<TR>

<TD colSpan=3D2><IMG height=3D15 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/pixel_trans.gif"=20

width=3D1></TD></TR>

<TR>

<TD colSpan=3D2><IMG height=3D10 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/pixel_trans.gif"=20

width=3D1></TD></TR>

<TR>

<TD colSpan=3D2>

<TABLE cellSpacing=3D0 cellPadding=3D2 width=3D"100%" =

border=3D0>

<TBODY>

<TR class=3DdataTableHeadingRow>

<TD class=3DdataTableHeadingContent =

colSpan=3D2>Products</TD>

<TD class=3DdataTableHeadingContent>SKU #</TD>

<TD class=3DdataTableHeadingContent =

align=3Dright>Tax</TD>

<TD class=3DdataTableHeadingContent align=3Dright>Price =

(ex)</TD>

<TD class=3DdataTableHeadingContent align=3Dright>Price =

(inc)</TD>

<TD class=3DdataTableHeadingContent align=3Dright>Total =

(ex)</TD>

<TD class=3DdataTableHeadingContent align=3Dright>Total=20

(inc)</TD></TR>

<TR class=3DdataTableRow>

<TD class=3DdataTableContent vAlign=3Dtop =

align=3Dright>2 x</TD>

<TD class=3DdataTableContent=20

vAlign=3Dtop>Meditation<BR><NOBR><SMALL> <I> - =

sizes:=20

5ml</I></SMALL></NOBR> </TD>

<TD class=3DdataTableContent vAlign=3Dtop>603</TD>

<TD class=3DdataTableContent vAlign=3Dtop =

align=3Dright>0%</TD>

<TD class=3DdataTableContent vAlign=3Dtop=20

align=3Dright><B>=A32.99</B></TD>

<TD class=3DdataTableContent vAlign=3Dtop=20

align=3Dright><B>=A32.99</B></TD>

<TD class=3DdataTableContent vAlign=3Dtop=20

align=3Dright><B>=A35.98</B></TD>

<TD class=3DdataTableContent vAlign=3Dtop=20

align=3Dright><B>=A35.98</B></TD></TR>

<TR>

<TD align=3Dright colSpan=3D8>

<TABLE cellSpacing=3D0 cellPadding=3D2 border=3D0>

<TBODY>

<TR>

<TD class=3DsmallText =

align=3Dright>Sub-Total:</TD>

<TD class=3DsmallText =

align=3Dright>=A35.98</TD></TR>

<TR>

<TD class=3DsmallText align=3Dright>10% Discount: =

 

</TD>

<TD class=3DsmallText align=3Dright><FONT=20

color=3Dred>-=A30.60</FONT></TD></TR>

<TR>

<TD class=3DsmallText align=3Dright>(Delivery =

Charge):</TD>

<TD class=3DsmallText =

align=3Dright>=A32.50</TD></TR>

<TR>

<TD class=3DsmallText align=3Dright>Total:</TD>

<TD class=3DsmallText=20

=

align=3Dright><B>=A37.88</B></TD></TR></TBODY></TABLE></TD></TR></TBODY><=

/TABLE></TD></TR></TBODY></TABLE><BR><BR>

<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"100%" border=3D0>

<TBODY>

<TR>

<TD width=3D9></TD>

<TD>

<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"100%" =

border=3D0>

<TBODY>

<TR>

<TD width=3D11><IMG height=3D16 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/maingrey_01.gif"=20

width=3D11></TD>

<TD=20

=

background=3Dhttp://www.mywebsite.co.uk/catalog/images/borders/main=

grey_02.gif><IMG=20

height=3D16 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/maingrey_02.gif"=20

width=3D24></TD>

<TD width=3D19><IMG height=3D16 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/maingrey_03.gif"=20

width=3D19></TD></TR>

<TR>

<TD=20

=

background=3Dhttp://www.mywebsite.co.uk/catalog/images/borders/main=

grey_04.gif><IMG=20

height=3D21 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/maingrey_04.gif"=20

width=3D11></TD>

<TD align=3Dmiddle bgColor=3D#f2f2f2>

<TABLE class=3Dmain cellSpacing=3D0 cellPadding=3D0 =

width=3D"100%"=20

border=3D0>

<TBODY>

<TR>

<TD noWrap width=3D"95%"> <B>ORDER=20

COMMENTS:</B><BR><BR></TD></TR>

<TR>

<TD align=3Dmiddle width=3D"95%">

<TABLE cellSpacing=3D0 cellPadding=3D0 =

width=3D"95%"=20

border=3D0><TBODY>

<TR>

<TD class=3DsmallText width=3D"95%">

<TABLE class=3Dmain cellSpacing=3D0 =

cellPadding=3D0=20

width=3D"100%" border=3D0>

<TBODY>

<TR>

<TD class=3DsmallText vAlign=3Dtop =

align=3Dleft=20

width=3D"100%">No comments have been =

left for this=20

=

order</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR>

<TR>

<TD><IMG height=3D7 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/catalog/images/pixel_trans.gif"=20

width=3D1></TD></TR></TBODY></TABLE></TD>

<TD=20

=

background=3Dhttp://www.mywebsite.co.uk/catalog/images/borders/main=

grey_06.gif><IMG=20

height=3D21 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/maingrey_06.gif"=20

width=3D19></TD></TR>

<TR>

<TD><IMG height=3D18 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/maingrey_07.gif"=20

width=3D11></TD>

<TD=20

=

background=3Dhttp://www.mywebsite.co.uk/catalog/images/borders/main=

grey_08.gif><IMG=20

height=3D18 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/maingrey_08.gif"=20

width=3D24></TD>

<TD><IMG height=3D18 alt=3D""=20

=

src=3D"http://www.mywebsite.co.uk/images/borders/maingrey_09.gif"=20

=

width=3D19></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><BR>

<CENTER><SPAN class=3DsmallText><FONT face=3DVerdana=20

color=3D#006699><STRONG>Thank you for shopping at<BR>Natural By =

Nature Oils=20

=

Ltd<BR>http://www.mywebsite.co.uk</STRONG></FONT></SPAN></CENTER></=

TR></TBODY></TABLE></BODY></HTML>

 

------=_NextPart_000_0007_01C7B31C.2DF9A4A0--

My guess is that it is because it is using a relative address: src=3D"/images/topbar.jpg"

Check your 4 configure.php files.

Link to comment
Share on other sites

New error:

Parse error: parse error, unexpected ',' in /hsphere/local/home/melty/mysite.com/catalog/includes/modules/email_invoice/email_invoice.php on line 24

 

Here is the code for line 24 and above:

<?php

 

/*

$Id: email_invoice.php,v 6.1 2005/06/05 18:00:29 PopTheTop Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

// Why go through all the processing if we don't have to, to begin with?

// This is kind of a shortcoming of the tep mail function that only tests

// this value after the email has already been compiled

if (SEND_EMAILS == 'true') {

// One could assume that if you want to send the HTML invoice then this would be redundant,

// but if for some reason the store owner changed their mind and ceased all HTML emails but forgot

// to disable this mod then this would still honor their decision and not add the extra overhead

line 24-> // of compiling the HTML version, ond only send the original text version

if (EMAIL_USE_HTML == 'true') {

 

$ei_admin = DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN, DIR_FS_ADMIN;

$ei_image_dir = HTTP_SERVER . DIR_WS_CATALOG . DIR_WS_IMAGES;

$ei_template_dir = DIR_WS_MODULES . EMAIL_INVOICE_DIR . INVOICE_TEMPLATE_DIR;

$ei_template_file = $ei_template_dir . EMAIL_TEMPLATE_FILE;

$ei_temp_file = DIR_WS_MODULES . EMAIL_INVOICE_DIR . FILENAME_EMAIL_CACHE_FILE;

$ei_css_path = HTTP_SERVER . DIR_WS_CATALOG . $ei_template_dir;

 

require(DIR_FS_ADMIN . DIR_WS_LANGUAGES . $language . "/" . FILENAME_ORDERS_INVOICE);

 

$currencies = new currencies();

$oID = $insert_id;

$orders_query = tep_db_query("select orders_id from " . TABLE_ORDERS . " where orders_id = '" . (int)$oID . "'");

$order = new order($oID);

$date = date('M d, Y');

 

ob_start();

include($ei_template_file);

//this can be done in one funciton call in PHP >= 4.3.0 but to keep it compatible, I use 2

$ei_html_email = ob_get_contents();

ob_end_clean();

My line 24 is

$ei_admin = DIR_FS_ADMIN;

not

$ei_admin = DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN, DIR_FS_ADMIN;

Link to comment
Share on other sites

Hi,

 

on line 95 I have this:

 

$this->MultiCell(100,6,"invoicenr: 2007.0" . $oID . "\n" . $date ,0,'L');

 

how to change the line to obtain a acurate year in stead of the hardcoded "2007"?

Grtz

 

HanZ

 

 

 

-----------

Life is simple, only people make it complicated...

Louis Couperus, Dutch writer (1863-1923)

Link to comment
Share on other sites

Hi,

 

on line 95 I have this:

 

$this->MultiCell(100,6,"invoicenr: 2007.0" . $oID . "\n" . $date ,0,'L');

 

how to change the line to obtain a acurate year in stead of the hardcoded "2007"?

Line 95 of what?

Link to comment
Share on other sites

Line 95 of what?

 

admin/invoice.php

 

found the solution:

 

change this

 

$this->MultiCell(100,6,"INVOICE NR: 2007.0" . $oID . "\n" . $date ,0,'L');

 

into this

 

$this->MultiCell(100,6,"INVOICE NR: ". date("Y") . ".0" . $oID . "\n" . $date ,0,'L');

 

this adds automaticly the actual year in front of the invoice number, like;

 

INVOICE NR: 2007.0302 (where 302 is the actual order number)

Grtz

 

HanZ

 

 

 

-----------

Life is simple, only people make it complicated...

Louis Couperus, Dutch writer (1863-1923)

Link to comment
Share on other sites

admin/invoice.php

 

found the solution:

 

change this

 

$this->MultiCell(100,6,"INVOICE NR: 2007.0" . $oID . "\n" . $date ,0,'L');

 

into this

 

$this->MultiCell(100,6,"INVOICE NR: ". date("Y") . ".0" . $oID . "\n" . $date ,0,'L');

 

this adds automaticly the actual year in front of the invoice number, like;

 

INVOICE NR: 2007.0302 (where 302 is the actual order number)

Ohh, I do not have that line in my file.

Link to comment
Share on other sites

For those who get a blank screen when they edit teh checkout_process.php file, here is the most common reason why with this contrib:

 

In includes/modules/email_invoice/email_invoice.php/ around line 30 there is

 

require(DIR_FS_ADMIN . DIR_WS_LANGUAGES . $language . "/" . FILENAME_ORDERS_INVOICE);

 

It should be:

 

require(DIR_FS_ADMIN . "/" . DIR_WS_LANGUAGES . $language . "/" . FILENAME_ORDERS_INVOICE);

Link to comment
Share on other sites

When using html invoice for e-mail the SKU # is only around 16 characters. Some of my SKU's are 35 characters. All teh characters show up when use non-html invoices for e-mail.

 

Where in this contrib is the SKU character length being limited?

Link to comment
Share on other sites

When using html invoice for e-mail the SKU # is only around 16 characters. Some of my SKU's are 35 characters. All the characters show up when use non-html invoices for e-mail.

 

Where in this contrib is the SKU character length being limited?

I found two other users that has asked the same question in the past,

//www.oscommerce.com/forums/index.php?showtopic=132562&st=620&p=734357&hl=sku%20length

 

but I can't find an answer in this forum.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...