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.

balinor 01-28-2007 03:08 AM

Re: Invoice logo not replaced in customer email
 
Quote:

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.

If you do that, it will generated a security error on the receipt page, so it is not recommended.

Chaosnhavoc 01-28-2007 04:36 PM

Re: Invoice logo not replaced in customer email
 
Security error? Where can I look for it at? I have not noticed any other issues could it be something that I am overlooking? Prior to changing the src Email Invoices would not download the image, it would show up with the red X like it couldnt find it. Any insight is greatly appreciated.

balinor 01-28-2007 05:20 PM

Re: Invoice logo not replaced in customer email
 
If you have secure checkout enabled (which I hope you do), viewing the Invoice page in secure mode will give you a 'This page displays both secure and insecure items, do you wish to proceed?'.

Also, if you could take a moment to add your X-Cart version to your signature that would be great...thanks! :)

David De Candia 07-19-2007 07:37 PM

Re: Invoice logo not replaced in customer email
 
Since I had this problem, I'm just going to add that I'm pretty sure carpeperdiem was right.

If you have correctly uploaded your new companyname_small.gif and it is still showing the old default logo in your email, it's because your email app's image cache needs flushing.

Checking my email via my webmail browser verified this.

TA 05-11-2008 11:13 AM

Re: Invoice logo not replaced in customer email
 
Yes, carpeperdiem is right on. I had the same problem and spent some time scratching my head. I was able to confirm this issue on a machine that had no email client set up. I went into mail/html/order_invoice.tpl and renamed the image there and then went into the images directory and renamed it to match. All is well.

Kristine 09-13-2011 07:17 AM

Re: Invoice logo not replaced in customer email
 
I agree that trying to go through X-Cart can be very difficult. Many of the templates and other files have the same names but are saved in different locations. In version 4.4.3, the logo for the invoices is in the folder skin/common_files/images/companyname_small.gif

I'm sure the original poster has had their problem solved but I hope this helps future users.

goldensheep 06-01-2018 10:45 AM

Re: Invoice logo not replaced in customer email
 
Hi,

I have the logo showing on customer invoices OK, but if I (as a customer log in) look at an invoice in my order history - it still has the X-Cart logo.
If (as Admin in the backend) open up/print an order/invoice - the logo is also still X-Cart.

For the life of me, I can't find where this is image is stored.

If anyone can help, I would be truly grateful

mcupka 06-01-2018 11:54 AM

Re: Invoice logo not replaced in customer email
 
Don't have your exact version but have you looked here?

https://forum.x-cart.com/showthread.php?t=73776


Quote:

Originally Posted by goldensheep
Hi,

I have the logo showing on customer invoices OK, but if I (as a customer log in) look at an invoice in my order history - it still has the X-Cart logo.
If (as Admin in the backend) open up/print an order/invoice - the logo is also still X-Cart.

For the life of me, I can't find where this is image is stored.

If anyone can help, I would be truly grateful


goldensheep 06-01-2018 01:42 PM

Re: Invoice logo not replaced in customer email
 
Thanks for the link to the thread.
I have tried all of those suggestions and replaced two image files called companyname_small.gif with my logo, but the x-cart one still remains on the invoices.

Incidentally, before replacing/overwriting those original images, I noticed that they were not the X-Cart logo, but blue text/logos saying Company logo (or something similar). This is what makes me think that they are not the right files.

mcupka 06-04-2018 05:16 AM

Re: Invoice logo not replaced in customer email
 
Quote:

Originally Posted by goldensheep
Thanks for the link to the thread.
I have tried all of those suggestions and replaced two image files called companyname_small.gif with my logo, but the x-cart one still remains on the invoices.

Incidentally, before replacing/overwriting those original images, I noticed that they were not the X-Cart logo, but blue text/logos saying Company logo (or something similar). This is what makes me think that they are not the right files.

Did you try viewing the email through a different program/browser as was suggested?

"If you have correctly uploaded your new companyname_small.gif and it is still showing the old default logo in your email, it's because your email app's image cache needs flushing.

Checking my email via my webmail browser verified this."

I'll be around till 5pm EST today and can go back and forth with you based on my current install (on here obviously). Hope that helps, thanks.

cflsystems 06-04-2018 05:27 AM

Re: Invoice logo not replaced in customer email
 
Quote:

Originally Posted by goldensheep
Hi,

I have the logo showing on customer invoices OK, but if I (as a customer log in) look at an invoice in my order history - it still has the X-Cart logo.
If (as Admin in the backend) open up/print an order/invoice - the logo is also still X-Cart.

For the life of me, I can't find where this is image is stored.

If anyone can help, I would be truly grateful

Load the page with invoice/wrong log and hit F12 or right click mouse over the logo and select Inspect.
This will open browser's developer tools and you can see where the image is read from. It will show the path related to the cart root.

The image is usually located under SKIN/images where is SKIN is the directory used for the site - it could be common_files but maybe it is another directory - depends on which skin is used for the site


All times are GMT -8. The time now is 12:38 PM.

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