View Single Post
  #13  
Old 06-08-2006, 11:46 AM
 
PP PP is offline
 

Advanced Member
  
Join Date: Apr 2006
Posts: 34
 

Default Re: How to Show Images in Bestseller Box

Quote:
Originally Posted by august
Since nobody seems to find the solution, I start testing and got this:

In skin1/modules/Bestsellers/menu_bestsellers.tpl, find this:


And change it for this:

Quote:
<a href="product.php?productid={$bestsellers[num].productid}&cat={$cat}">{$bestsellers[num].product}
<div align="center">{include file="product_thumbnail.tpl" productid=$bestsellers[num].productid image_x=50 product=$bestsellers[num].product}</div>
</a>

You can change the size in image_x= any size you want

Have it working for version 4.0.13



How would one add the Y axis as well ?
__________________
X-Cart version 4.1.7 Pro
PHP 4.4.3
GD bundled (2.0.28 compatible)
MySQL server 4.1.21-standard
MySQL client 4.1.21
Web server Apache/1.3.37 (Unix)
Operation system Linux
Perl 5.008007
XML parser (expat) 1.95.6
Reply With Quote