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

Best Seller Thumbnails

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-30-2007, 11:11 PM
 
xcesiv xcesiv is offline
 

Advanced Member
  
Join Date: Jun 2007
Posts: 84
 

Default Best Seller Thumbnails

http://www.ls1store.xcesiv.com/xcart/home.php

Insted of having 4 links and very tiny thumbnails i would like to run with 4 thumbnails and jus the name.

Can someone please go through how this is done.

thanks

warren
__________________
www.pureimage.com.au - X-CART Gold 4.7.4
www.WholesaleDigital.com.au - X-CART Gold 4.6.0
Reply With Quote
  #2  
Old 10-31-2007, 03:25 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Best Seller Thumbnails

Open up modules/Bestsellers/bestsellers.tpl and edit it to display however you want.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #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
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 08:21 PM.

   

 
X-Cart forums © 2001-2020