View Single Post
  #8  
Old 05-22-2008, 08:19 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: change image size on wishlist?

For 4.1.8 I just changed it from...
Code:
<a href="product.php?productid={$wl_products[product].productid}&amp;quantity={$wl_products[product].amount}">{if $wl_products[product].is_pimage eq 'W' }{assign var="imageid" value=$wl_products[product].variantid}{else}{assign var="imageid" value=$wl_products[product].productid}{/if}{include file="product_thumbnail.tpl" productid=$imageid image_x=$wl_products[product].pimage_x image_y=$wl_products[product].pimage_y product=$wl_products[product].product tmbn_url=$wl_products[product].pimage_url type=$wl_products[product].is_pimage}</a>&nbsp;
to
Code:
<a href="product.php?productid={$wl_products[product].productid}&amp;quantity={$wl_products[product].amount}">{include file="product_thumbnail.tpl" productid=$wl_products[product].productid image_x=$products[product].tmbn_x|default:$config.Appearance.thumbnail_width image_y=$products[product].tmbn_y product=$products[product].product tmbn_url=$products[product].tmbn_url}</a>

Basically I just took the routine from products_t.tpl and changed "$products[product].productid" to "$wl_products[product].productid". It seems to work fine.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote