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)
-   -   Invoice logo not replaced in customer email (https://forum.x-cart.com/showthread.php?t=27801)

JonCam 01-04-2007 08:54 PM

Invoice logo not replaced in customer email
 
I replaced the default small company logo gif with my company logo.

The invoice that shows on screen when the customer completes an order shows it correctly. However, the invoice that is sent to the customer via email has the "Company Name" logo from xcart in it. v4.1.3

Is this a bug or something I didn't realize I had to change manually?

Any thoughts? I'm ready to launch but for this issue.

Cheers,
JC

Jon 01-04-2007 10:01 PM

Re: Invoice logo not replaced in customer email
 
It's a different image, which unfortunately I don't recall the name of off-hand. I highly recommend downloading your entire image directory and reviewing for possible changes anyway.

balinor 01-05-2007 02:26 AM

Re: Invoice logo not replaced in customer email
 
The image on the invoices is companyname_small.gif. Please be sure to read the guidelines on posting in the bugs forum, it is for software bugs only, not configuration issues. Moving to Template Editing. Thanks!

JonCam 01-05-2007 08:50 PM

Re: Invoice logo not replaced in customer email
 
Yes, I read it... thank you.

I still haven't seen anything that tells me it isn't a bug. I've been through all the images in x-cart and can't find any other like it. If anyone can tell me the name and location of the image, I'd be interested. Until then, x-cart can tell me it isn't a bug... although they are good at saying something isn't when it later turns out it is... sorry for the rant.

Padraic, if you re-read my post, you will see that I've already changed the one you mention, and have cleared the cache as well...

How do I move this back to Bugs and Fixes?

balinor 01-06-2007 02:59 AM

Re: Invoice logo not replaced in customer email
 
If you open the template, you will see exactly what it is called. The invoice is skin1/mail/html/order_invoice.tpl. It is companyname_small.gif. It is not the same image as your main logo.

denlem 01-06-2007 03:10 AM

Re: Invoice logo not replaced in customer email
 
Quote:

Originally Posted by JonCam


I still haven't seen anything that tells me it isn't a bug.



Have you found anything that has told you that it * IS * a bug??

As balinor said, the file name is companyname_small.gif

Typically it will be in your /skin1/images/ directory. You will need to either overwrite this image with the same name, or go into your /mail/html/order_invoice.tpl template, and look around line 12, you will see:

<td valign="top"><br /><br /><img src="{$ImagesDir}/companyname_small.gif" alt="" /></td>

and change the file name to exactly match the name of the file you uploaded.

balinor 01-06-2007 03:50 AM

Re: Invoice logo not replaced in customer email
 
I just looked at this on a fresh install of 4.1.3, and that is indeed the correct image. Changing it changes the image on the invoice, so it isn't a bug. If it isn't changing, make sure you:

1. Uploaded the new graphic to the correct folder.

2. Cleared out your templates_c director

3. Cleared out your browser's cache

JonCam 01-06-2007 06:49 AM

Re: Invoice logo not replaced in customer email
 
Okay guys, I'm going to rewrite the problem, because obviously you are reading that I'm a newbie and making some assumptions.

- Before I wrote in, prior to testing an order I changed the companyname_small.gif to one with my logo.
- It changed fine on the onscreen invoice that the customer sees [therefore the gif is in the correct directory, and it correctly overwrote the default file].
-I thought I was done. I looked at the email receipt that was sent to me as the test user.
- The default logo showed up.
- I went back into tools and cleared the template cache and redid the order.
- Same result. 6 orders in a row, same results.

I've deleted the logo from the mail/html/order_invoice.tpl and it deleted it on both the onscreen version and the email, so I'm going to get on with my life. If it isn't a bug, great, but it sure acts like a bug.

Sorry for my frustration, but this is an awfully frustrating shopping solution if you don't love coding.

Chaosnhavoc 01-27-2007 04:18 PM

Re: Invoice logo not replaced in customer email
 
I had a similar problem, my logo wouldnt show up in the emails. I changed mail/html/order_invoice.tpl image src to the http:// address versus the current src.

carpeperdiem 01-27-2007 05:14 PM

Re: Invoice logo not replaced in customer email
 
I had a similar problem way back when... and I think my email client cached the original image. Since I didn't know how to clear the cache of my email client, I simply renamed the image (adjusted the templates) and everything was great.


All times are GMT -8. The time now is 10:47 PM.

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