Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Add a product thumbnail to tell-a-friend email & invoice

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #41  
Old 03-06-2008, 03:35 PM
  kube's Avatar 
kube kube is offline
 

X-Adept
  
Join Date: Sep 2005
Location: London: a small place East of Wales
Posts: 529
 

Default Re: Add a product thumbnail to tell-a-friend email & invoice

Hi Divine,

Are you sure you have the right send2friend.tpl?

I also checked via your site and it gives different code to what you have there. That looks to be skin1/mail/send2friend.tpl rather than skin1/mail/html/send2friend.tpl
__________________
Doms
kube v4.1.9
Reply With Quote
  #42  
Old 03-06-2008, 04:11 PM
  divinechic's Avatar 
divinechic divinechic is offline
 

Advanced Member
  
Join Date: Dec 2007
Posts: 78
 

Default Re: Add a product thumbnail to tell-a-friend email & invoice

You are so right, now that you have told me I was all wrong, it works great. I have one last thing, is there a way to change the size of the image bcause right now it is sending my large images?
__________________
X-Cart Gold version 4.1.9
Reply With Quote
  #43  
Old 03-19-2008, 12:02 PM
 
Freakmode Freakmode is offline
 

X-Adept
  
Join Date: Jun 2003
Location: UK
Posts: 696
 

Default Re: Add a product thumbnail to tell-a-friend email & invoice

Does anyone have this working for emailing images out on the invoice.

I tried to follow the code that was posted up for 4.1.7 but it lost me..

From this thread http://forum.x-cart.com/showpost.php?p=175387&postcount=36

I have the tell a friend image part working
__________________
X-Cart 4.7.12 (Live)
Redux Template
CDSEO
Reply With Quote
  #44  
Old 04-24-2008, 09:13 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default Re: Add a product thumbnail to tell-a-friend email & invoice

I created a solution for displaying on x-cart invoice and order confirmation email.
Reply With Quote

The following user thanks Jon for this useful post:
connemara (06-14-2010)
  #45  
Old 04-29-2008, 12:18 PM
 
Freakmode Freakmode is offline
 

X-Adept
  
Join Date: Jun 2003
Location: UK
Posts: 696
 

Default Re: Add a product thumbnail to tell-a-friend email & invoice

Jon

Does this mod work in 4.1.8?

I added the code as shown but no luck for me.
__________________
X-Cart 4.7.12 (Live)
Redux Template
CDSEO
Reply With Quote
  #46  
Old 04-29-2008, 12:20 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default Re: Add a product thumbnail to tell-a-friend email & invoice

It was written for 4.1.9 so it should. Did you clear your template cache? Do you have your images in the file system?
Reply With Quote
  #47  
Old 04-29-2008, 01:40 PM
 
Freakmode Freakmode is offline
 

X-Adept
  
Join Date: Jun 2003
Location: UK
Posts: 696
 

Default Re: Add a product thumbnail to tell-a-friend email & invoice

Yep on both of those - I have another clean (ish) 4.1.8 install with no mods installed so I'll give that a go in the morning and report back.

Thanks
__________________
X-Cart 4.7.12 (Live)
Redux Template
CDSEO
Reply With Quote
  #48  
Old 04-30-2008, 11:24 AM
 
espresso espresso is offline
 

eXpert
  
Join Date: Apr 2007
Location: Ontario, Canada
Posts: 227
 

Default Re: Add a product thumbnail to tell-a-friend email & invoice

Jon, would be great if your mod works, my images don't show up either and a yes to: cleared cash and yes to file system.
__________________
Rene
End user - merchant
In the upgrade process 4.6.6 to 5.4.x


Mods I miss in 5.4.x:
xCMS, Create-A-Sale, On-Sale AC, Kit Builder AC, Manufacturer-A-Z BCSE, Product-Bundle BCSE, Pre-Order BCSE, Customer Quotes BCSE
Reply With Quote
  #49  
Old 04-30-2008, 11:28 AM
 
Freakmode Freakmode is offline
 

X-Adept
  
Join Date: Jun 2003
Location: UK
Posts: 696
 

Default Re: Add a product thumbnail to tell-a-friend email & invoice

Tried this also on our other site a clean 4.1.8 install and its not working on that one either, could you have missed out a section when you pasted up your install instructions?

Easy done
__________________
X-Cart 4.7.12 (Live)
Redux Template
CDSEO
Reply With Quote
  #50  
Old 06-03-2008, 01:51 PM
 
Manuel Barquin Manuel Barquin is offline
 

Advanced Member
  
Join Date: Dec 2007
Posts: 37
 

Default Re: Add a product thumbnail to tell-a-friend email & invoice

Hi:

Ive tried it in 4.1.9 and it works great but puts the image under tthe product description. I would like to know what code is needed to resize the thumbnails, as not all my thumbnails are the same size, and makes the invoice huge.

Can anybody help to resize the thumbnail??

Jon??
__________________
-X Cart Gold V4.3
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:09 PM.

   

 
X-Cart forums © 2001-2020