View Single Post
  #6  
Old 03-20-2009, 07:56 AM
  The Digichick's Avatar 
The Digichick The Digichick is offline
 

Senior Member
  
Join Date: May 2007
Posts: 111
 

Default Re: Changing the # of products in Latest Additions

What you want to do is edit the fts_newest_products_display.tpl file in two places, replacing the "2" with "$config.Appearance.products_per_row":

1. Near line 6, replace this line
Code:
{if %i.first% or %i.index% is div by 2}
with this:
Code:
{if %i.first% or %i.index% is div by $config.Appearance.products_per_row}

2. Near line 27, replace this line
Code:
{if (%i.index% + 1) is div by 2 or %i.last%}
with this:
Code:
{if (%i.index% + 1) is div by $config.Appearance.products_per_row or %i.last%}

Hope that helps!
__________________
Kim Lichtfuss, owner of The Digichick
X-Cart Pro v4.5.2 (with X-Special Offers)
LAMP [Apache 2.2.11 | PHP 5.2.8 | MySQL 5.0.67-community]
Reply With Quote