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

thumbnails in cart pages

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-28-2007, 05:23 AM
 
sakeena sakeena is offline
 

Advanced Member
  
Join Date: Mar 2007
Posts: 44
 

Default thumbnails in cart pages

how do i show the thumbnails in the shopping cart pages and check out pages instead of the full sized version

sorry didnt know where to post this so put in another section at first
__________________
xcart 4.1.6 unix server
Reply With Quote
  #2  
Old 04-28-2007, 05:31 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: thumbnails in cart pages

You can edit the size of your thumbnails in customer/main/cart.tpl

I have deleted your second post on this topic.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 04-28-2007, 05:44 AM
 
sakeena sakeena is offline
 

Advanced Member
  
Join Date: Mar 2007
Posts: 44
 

Default Re: thumbnails in cart pages

HI
thanks can you tell me exactly what to change or replace, its hard for me to understand just started working with the cart
i dont want to adjust the sizing per say but what it to display the thumbnails instead of the product picture
__________________
xcart 4.1.6 unix server
Reply With Quote
  #4  
Old 04-28-2007, 05:50 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: thumbnails in cart pages

Ok, first I need to know your exact version (i.e. 4.1.6). You can find this in your 'Summary' area of your admin. Post that in your signature and I'll fix you up
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 04-28-2007, 04:14 PM
 
sakeena sakeena is offline
 

Advanced Member
  
Join Date: Mar 2007
Posts: 44
 

Default Re: thumbnails in cart pages

4.1.6
signature is fixed
thanks!
__________________
xcart 4.1.6 unix server
Reply With Quote
  #6  
Old 04-29-2007, 03:49 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: thumbnails in cart pages

Ok, in your version, the code for the thumbnail is this:

{include file="product_thumbnail.tpl" productid=$imageid image_x=$config.Appearance.thumbnail_width product=$products[product].product tmbn_url=$products[product].pimage_url type=$products[product].is_pimage}

If you want to change the size, just replace this:

image_x=$config.Appearance.thumbnail_width

with

image_x=50

Replace 50 with the size you want for the width.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 04-29-2007, 12:01 PM
  vtonya's Avatar 
vtonya vtonya is offline
 

Advanced Member
  
Join Date: Apr 2007
Posts: 61
 

Exclamation Re: thumbnails in cart pages

Quote:
Originally Posted by balinor
Ok, in your version, the code for the thumbnail is this:

{include file="product_thumbnail.tpl" productid=$imageid image_x=$config.Appearance.thumbnail_width product=$products[product].product tmbn_url=$products[product].pimage_url type=$products[product].is_pimage}

If you want to change the size, just replace this:

image_x=$config.Appearance.thumbnail_width

with

image_x=50

Replace 50 with the size you want for the width.

Doesn't work with 4.1.7 version

Any Ideas?
__________________
X-card Gold 4.1.7
Batch Order Mod/Order Processing
Detailed Order Management Mod
Order Audit/Profit reports
Advanced Product Search
Ajax Username Checker
Direct Product Enquiry Form
FAQ Manager
Social Bookmarking
Tabs Mod v3
MagneticOne.com All-IN-ONE X-Cart Export
Show Referrer Information on Order Details Page
www.medsmarket.net
Reply With Quote
  #8  
Old 04-29-2007, 01:17 PM
  NightFire's Avatar 
NightFire NightFire is offline
 

X-Adept
  
Join Date: Jul 2004
Location: The Netherlands
Posts: 561
 

Default Re: thumbnails in cart pages

Don't know if this works. But try the following:

Code:
{include file="product_thumbnail.tpl" productid=$products[product].productid image_x=$config.Appearance.thumbnail_width product=$products[product].product tmbn_url=$products[product].tmbn_url class="NoBorder" alt=$products[product].product|escape}
__________________
Best regards,
Niki Buitenrust Hettema

X-Cart Gold 4.1.8 (Live & Loaded)
Royal Bhaktapur: Handmade products from Nepal - Pashmina's, scarfs, shawls, stola's and more...
Reply With Quote
  #9  
Old 04-29-2007, 01:44 PM
  vtonya's Avatar 
vtonya vtonya is offline
 

Advanced Member
  
Join Date: Apr 2007
Posts: 61
 

Question Re: thumbnails in cart pages

Thank you, but it doesnt work
__________________
X-card Gold 4.1.7
Batch Order Mod/Order Processing
Detailed Order Management Mod
Order Audit/Profit reports
Advanced Product Search
Ajax Username Checker
Direct Product Enquiry Form
FAQ Manager
Social Bookmarking
Tabs Mod v3
MagneticOne.com All-IN-ONE X-Cart Export
Show Referrer Information on Order Details Page
www.medsmarket.net
Reply With Quote
  #10  
Old 04-29-2007, 01:46 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: thumbnails in cart pages

What didn't work about the code I posted?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
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:33 PM.

   

 
X-Cart forums © 2001-2020