View Single Post
  #3  
Old 10-31-2007, 03:42 AM
 
xcesiv xcesiv is offline
 

Advanced Member
  
Join Date: Jun 2007
Posts: 84
 

Default Re: Best Seller Thumbnails

I have worked out how to move the text over and expand the size of the thumb nail. Now i just need to learn how to put the items next to each other.

Here is the code so far

Code:
{* $Id: bestsellers.tpl,v 1.8.2.1 2006/11/16 13:12:29 max Exp $ *} {if $bestsellers} {capture name=bestsellers} <table cellpadding="0" cellspacing="2"> {foreach from=$bestsellers item=bestseller} <tr> {if $config.Bestsellers.bestsellers_thumbnails eq "Y"} <td width="160"> <a href="product.php?productid={$bestseller.productid}&amp;cat={$cat}&amp;bestseller">{include file="product_thumbnail.tpl" productid=$bestseller.productid image_x=150 product=$bestseller.product}</a> </td> {/if} <td> <b><a href="product.php?productid={$bestseller.productid}&amp;cat={$cat}&amp;bestseller">{$bestseller.product}</a></b><br /> {$lng.lbl_our_price}: {include file="currency.tpl" value=$bestseller.taxed_price}<br /> </td> </tr> {/foreach} </table> {/capture} {include file="dialog.tpl" title=$lng.lbl_bestsellers content=$smarty.capture.bestsellers extra='width="100%"'} {/if}
__________________
www.pureimage.com.au - X-CART Gold 4.7.4
www.WholesaleDigital.com.au - X-CART Gold 4.6.0
Reply With Quote