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

Show thumbnails in wishlist pages

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

Advanced Member
  
Join Date: Mar 2007
Posts: 44
 

Default Show thumbnails in wishlist pages

How do I show thumbnail images in wish list pages instead of full size? I know I have to edit the template but dont know exactly what it is i need to do

Thanks
__________________
xcart 4.1.6 unix server
Reply With Quote
  #2  
Old 09-18-2007, 06:30 AM
 
sakeena sakeena is offline
 

Advanced Member
  
Join Date: Mar 2007
Posts: 44
 

Default Re: Show thumbnails in wishlist pages

anyone?
__________________
xcart 4.1.6 unix server
Reply With Quote
  #3  
Old 11-20-2007, 03:01 PM
 
miami.mom miami.mom is offline
 

eXpert
  
Join Date: Oct 2005
Posts: 244
 

Default Re: Show thumbnails in wishlist pages

sakeena - did you ever figure this out? I'm perplexed as well. I'm in /modules/Wishlist/wl_products.tpl, but from what I can see, it looks like the code is referencing the thumbnail... Then again, my smarty code skills are pretty bad...
__________________
X-Cart 4.1.8
Reply With Quote
  #4  
Old 11-20-2007, 04:16 PM
 
sakeena sakeena is offline
 

Advanced Member
  
Join Date: Mar 2007
Posts: 44
 

Default Re: Show thumbnails in wishlist pages

i honestly have no clue at what im looking at when i view the templates
was hoping someone who knows what they are doing would have written back by now....
__________________
xcart 4.1.6 unix server
Reply With Quote
  #5  
Old 11-20-2007, 04:33 PM
 
sakeena sakeena is offline
 

Advanced Member
  
Join Date: Mar 2007
Posts: 44
 

Default Re: Show thumbnails in wishlist pages

ok im not sure if this was the best way to fix but i figured out something
in product_thumbnail.tpl
replace
Code:
width="{$image_x}"{/if}{if $image_y ne 0} height="{$image_y}"

with
Code:
width="50"{/if}{if $image_y ne 0} height="50"

using whatever size you need instead of 50
__________________
xcart 4.1.6 unix server
Reply With Quote
  #6  
Old 12-08-2007, 05:18 AM
 
sakeena sakeena is offline
 

Advanced Member
  
Join Date: Mar 2007
Posts: 44
 

Default Re: Show thumbnails in wishlist pages

nevermind this makes the products show as that size as well!
__________________
xcart 4.1.6 unix server
Reply With Quote
  #7  
Old 12-08-2007, 07:59 AM
  SystemSkins's Avatar 
SystemSkins SystemSkins is offline
 

eXpert
  
Join Date: Oct 2007
Posts: 350
 

Default Re: Show thumbnails in wishlist pages

I'm no genius, but try this:
Code:
{include file="product_thumbnail.tpl" productid=$product.productid}

This is what I have in my invoices, it may work for what you are doing as well. If not, then I have no clue.

put it in the wl_products.tpl

The size of the thumbnails will be the size you designated in the admin area.
__________________
Doug Rock
X-cart Gold 4.1.9
_____________________________________
Altered Cart: 1-Page checkout
Firetank: Feed Manager
Website CM: CDSEO PRO
Website CM: Product A-Z Map
Website CM: Review Approval
Website CM: Site Map Pro
Qualiteam: Sales & Stats (free version)
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 01:58 PM.

   

 
X-Cart forums © 2001-2020