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

Showing Thumbnail at Products info in Order detai

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-29-2005, 09:00 PM
 
hironao_sato hironao_sato is offline
 

Member
  
Join Date: May 2005
Location: JAPAN
Posts: 11
 

Default Showing Thumbnail at Products info in Order detai

Hello , Does anyone know how to showing thumbnail in Products info.

X cart defalt, there are "Product tile", "SKU" , "Price" and "Quantity".
http://www.x-cart.com/demo/order.php?orderid=1032
(please loggin before showing)

I would like to add the product thumbnail too.
It will be good for customer and seller.

Thank you for reading.
__________________
X cart Gold 4.0.13 WHM 10.8.0 RedHat Enterprise 3 i686 - *Dynamic Search-Engine-Friendly URLs *Robust Continue Shopping *Back in stock notifications*Customers Also Bought Modification*Newest Added products list*Remember me login
Reply With Quote
  #2  
Old 05-30-2005, 04:33 AM
  TelaFirma's Avatar 
TelaFirma TelaFirma is offline
 

X-Adept
  
Join Date: Nov 2002
Location: North Carolina USA
Posts: 930
 

Default

Insert this:

Code:
{include file="product_thumbnail.tpl" productid={$products[prod_num].productid image_x=$product.image_x image_y=$product.image_y product=$product.product tmbn_url=$product.tmbn_url id="product_thumbnail"}

into your order_info.tpl file within the {section name=prod_num loop=$products} loop where you would like it to show up.
Reply With Quote
  #3  
Old 05-30-2005, 06:15 PM
 
hironao_sato hironao_sato is offline
 

Member
  
Join Date: May 2005
Location: JAPAN
Posts: 11
 

Default Thank you TelaFirma, no image available showing

Hello TelaFirma,
Thank you for your advice.
And I put the code at order_info.tpl .
and "no image available" thumbnail is showing.

I do not know why.

My Xcart is gold and 4.0.13 version and unix.

Anyway, thank you.
__________________
X cart Gold 4.0.13 WHM 10.8.0 RedHat Enterprise 3 i686 - *Dynamic Search-Engine-Friendly URLs *Robust Continue Shopping *Back in stock notifications*Customers Also Bought Modification*Newest Added products list*Remember me login
Reply With Quote
  #4  
Old 05-30-2005, 09:20 PM
  TelaFirma's Avatar 
TelaFirma TelaFirma is offline
 

X-Adept
  
Join Date: Nov 2002
Location: North Carolina USA
Posts: 930
 

Default

oops... lots of mistakes in that one. I forgot to change all the other variables to represent the loop you are in...

Code:
{include file="product_thumbnail.tpl" productid=$products[prod_num].productid image_x=$product[prod_num].image_x image_y=$product[prod_num].image_y product=$products[prod_num].product tmbn_url=$products[prod_num].tmbn_url}
Reply With Quote
  #5  
Old 05-31-2005, 09:09 AM
 
hironao_sato hironao_sato is offline
 

Member
  
Join Date: May 2005
Location: JAPAN
Posts: 11
 

Default Thank you millions ! It works :oD

Wow fantastic !!! ,
It works, showing each image.

Thank you tons again.
__________________
X cart Gold 4.0.13 WHM 10.8.0 RedHat Enterprise 3 i686 - *Dynamic Search-Engine-Friendly URLs *Robust Continue Shopping *Back in stock notifications*Customers Also Bought Modification*Newest Added products list*Remember me login
Reply With Quote
  #6  
Old 09-20-2005, 12:12 AM
 
artist122 artist122 is offline
 

Advanced Member
  
Join Date: Feb 2004
Posts: 43
 

Default Image thumnails in the Order Notification E-mails

I have been looking for a way to insert the Image Thumnails in to the Order_data.tpl file, and no image shows up only the No Image Available thumbnail show ups.

Code:
{include file="product_thumbnail.tpl" productid={$products[prod_num].productid image_x=100=$product.product tmbn_url=$product.tmbn_url id="product_thumbnail"}

This is what we inserted and the image only shows up in the order processed page after the order is sent , but we can not get the images to show up in the e-mails that X-cart sends to the customer.


Any help would be nice
__________________
Anthony
www.ambfurniture.com

X-cart Version 4.6.1 Newly updated
Reply With Quote
  #7  
Old 09-20-2005, 09:37 AM
 
hironao_sato hironao_sato is offline
 

Member
  
Join Date: May 2005
Location: JAPAN
Posts: 11
 

Default Re: Image thumnails in the Order Notification E-mails

Quote:
Originally Posted by artist122
I have been looking for a way to insert the Image Thumnails in to the Order_data.tpl file, and no image shows up only the No Image Available thumbnail show ups.

Code:
{include file="product_thumbnail.tpl" productid={$products[prod_num].productid image_x=100=$product.product tmbn_url=$product.tmbn_url id="product_thumbnail"}

This is what we inserted and the image only shows up in the order processed page after the order is sent , but we can not get the images to show up in the e-mails that X-cart sends to the customer.


Any help would be nice



Hello,

How about this
http://forum.x-cart.com/viewtopic.php?t=15757

I could show thumnails in the Order Notification E-mails read this.

Thanks,
__________________
X cart Gold 4.0.13 WHM 10.8.0 RedHat Enterprise 3 i686 - *Dynamic Search-Engine-Friendly URLs *Robust Continue Shopping *Back in stock notifications*Customers Also Bought Modification*Newest Added products list*Remember me login
Reply With Quote
  #8  
Old 09-20-2005, 09:51 AM
 
Jerrad Jerrad is offline
 

X-Adept
  
Join Date: Nov 2004
Location: The Netherlands
Posts: 484
 

Default

Hi hironao_sato,

Did you really manage to display product thumbnails in the order confirmation emails?
If so, could you show/explain me how you did it?
Thanks in advance!
__________________
X-Cart 4.0.12
Heavy modified with paid, free and forum mods.
PHP 5.2.5 | MYSQL 5.0.51a
Reply With Quote
  #9  
Old 09-20-2005, 12:32 PM
 
hironao_sato hironao_sato is offline
 

Member
  
Join Date: May 2005
Location: JAPAN
Posts: 11
 

Default

Quote:
Originally Posted by Jerrad
Hi hironao_sato,

Did you really manage to display product thumbnails in the order confirmation emails?
If so, could you show/explain me how you did it?
Thanks in advance!


HI again, sorry my mistake.
I tested again, there are no thmbnail image at order confirmation email.

thmbnail image is shown only website.

Sorry for no help.

I hope someone can help you.

If you are in harry, xcart support is better.

Thanks, good luck 2 u !
__________________
X cart Gold 4.0.13 WHM 10.8.0 RedHat Enterprise 3 i686 - *Dynamic Search-Engine-Friendly URLs *Robust Continue Shopping *Back in stock notifications*Customers Also Bought Modification*Newest Added products list*Remember me login
Reply With Quote
  #10  
Old 09-20-2005, 03:22 PM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

they wont show because it cant find the file anymore. you would need to put the full url to the site
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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:53 AM.

   

 
X-Cart forums © 2001-2020