![]() |
Add thumbnail image on email invoice.
1 Attachment(s)
I paid some Xcart points some time ago on this and thought I would share it with some. It will add a product thumbnail image on the email invoice. Makes packing orders easier anyway.
You could also implement it on the great custom template found in http://forum.x-cart.com/showthread.php?t=42748&highlight=email+invoice Or in your default Xcart Order_Data.tpl Enjoy! Code:
Here is a screen shot as well. Enjoy! |
Re: Add thumbnail image on email invoice.
Thanks for sharing! I'm not sure if I will use it, but i'm sure others will.
One question, do you print the image on the invoice that you give to customers or is this simply for you when you pack the boxes? |
Re: Add thumbnail image on email invoice.
Quote:
Pyro, this is on the invoice which is emailed to the customer upon the checkout process and yes in out case its the shipping invoice as well. Keeps everyone on the same page. |
Re: Add thumbnail image on email invoice.
Thanks so much!
If this works in my 4.0.19 cart, I'll be overjoyed! |
Re: Add thumbnail image on email invoice.
Everything works great except when I go to print it out, the full size image prints. Is there any way to adjust this?
Thank you for your time, Jon |
Re: Add thumbnail image on email invoice.
Quote:
Code:
try changing the width="75" parameter |
Re: Add thumbnail image on email invoice.
Thank you for the quick response. Would adding a style to this tag force it to print the smaller size? Possibly something like this?
<img src="{$http_location}/image.php?id={$product.productid}" width="80" style="width:80px; height:90px; padding-top:5px;"> Thanks |
Re: Add thumbnail image on email invoice.
Quote:
Have not tried this since the posted code work on 2 carts 4.18 and 4.3.1. Why not try it out and post back your findings? Look forward to your reply |
Re: Add thumbnail image on email invoice.
Any ideas why my emails just have a box with a red dot in the order?
|
Re: Add thumbnail image on email invoice.
Very nice mod.
It's possible to display thumbnails invoice for admin side only ? My goal is to see which ordered products has got images & which doesn't have. |
Re: Add thumbnail image on email invoice.
Quote:
The thumb should show provided there is one there. |
Re: Add thumbnail image on email invoice.
Quote:
|
Re: Add thumbnail image on email invoice.
I have 4.3.1 and have tried both codes and dont seem to be able to get either to work. I take it I am supposed to repeace the code below into the relevant lines?
Quote:
This is my original code before making changes, and I have put quote boxes around the code I have replaced. Is this riight? I guess not as it no works! Quote:
|
Re: Add thumbnail image on email invoice.
Nice one works a treat.
|
Re: Add thumbnail image on email invoice.
I think you should find it in skin1/mail/html/signature.tpl
Cheers |
Re: Add thumbnail image on email invoice.
Does anyone know if this will work in 4.4.1?
|
Re: Add thumbnail image on email invoice.
Ok I got it to work in 4.4.1
Quote:
Quote:
|
Re: Add thumbnail image on email invoice.
Quote:
|
Re: Add thumbnail image on email invoice.
Has anyone got this to work in 4.3 branch?
|
Re: Add thumbnail image on email invoice.
My questions is how to get it in 4.3.2 and 4.4.x
|
All times are GMT -8. The time now is 06:03 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.