View Single Post
  #7  
Old 05-10-2009, 12:05 AM
  AusNetIT's Avatar 
AusNetIT AusNetIT is offline
 

Senior Member
  
Join Date: Apr 2009
Posts: 152
 

Default Re: short description for three columns

Quote:
Originally Posted by pauldodman
When you move to a column display the template changes from
skin1/customer/main/products.tpl
to
skin1/customer/main/products_t.tpl

So you need to edit this template accordingly. If you look at the first template, you will find the bits of code you need - in this case you want:

{$products[product].descr|truncate:300:"...":true}

So put that in where you need it.


Under my Prodtucts_t.tpl

i have change to this but nothing happen?


<div class="ProdTitle"><a href="product.php?productid={$products[product].productid}&cat={$cat}&page={$navigation_page}" class="ProductTitle">{$products[product].product|truncate:100:"...":true}</a><br />
{if $config.Appearance.display_productcode_in_list eq "Y" and $products[product].productcode ne ""}
<font class="SmallText">{$lng.lbl_sku}: {$products[product].productcode}</font><br />
{/if}</div>
__________________
Melbourne website design | SEO in Melbourne

Installed Ver 4.6.0
Reply With Quote