You can look at my site from my signature to see the demo
Replace your catalog\view\theme\default\template\module\bestseller.tpl with the code below
Code: Select all
<div class="box">
<div class="top">
<img src="catalog/view/theme/default/image/icon_bestsellers.png" alt="" /><?php
echo $heading_title; ?></div>
<div class="middle">
<?php if ($products) { ?>
<table cellpadding="2" cellspacing="0" style="width: 100%;">
<?php foreach ($products as $product) { ?>
<tr>
<td valign="top" align="center" width="1">
<a href="<?php echo $product['href']; ?>">
<img src="<?php echo $product['image']; ?>" alt="<?php echo $product['name']; ?>" /></a>
</td>
</tr>
<tr>
<td valign="top" align="center" width="1">
<?php if (!$product['special']) { ?> <span style="font-size: 11px; color: #900; font-weight: bold">
Price: <?php echo $product['price']; ?></span> <?php } else { ?> <span style="font-size: 11px;
color: #900; text-decoration: line-through;"><?php echo $product['price']; ?></span>
<span style="font-size: 11px; color: #F00;"><?php echo $product['special']; ?></span>
<?php } ?>
</td>
</tr>
<tr>
<td valign="top" align="center">
<a href="<?php echo $product['href']; ?>"><?php echo $product['name']; ?></a>
</td>
</tr>
<?php } ?>
</table>
<?php } ?>
</div>
<div class="bottom">
</div>
</div>
and change
Code: Select all
HelperImage::resize($image, 18, 18)
Code: Select all
HelperImage::resize($image, 100, 100)
