View Single Post
  #2  
Old 08-23-2008, 02:17 AM
  Piotr M.'s Avatar 
Piotr M. Piotr M. is offline
 

Senior Member
  
Join Date: Aug 2008
Posts: 134
 

Default Re: Different Column Number Based on Category

Insert this code at the very top of products_t.tpl
Code:
{if $cat eq 23}{assign var=products_per_row value="2"}{else}{assign var=products_per_row value="3"}{/if}

Then replace $config.Appearance.products_per_row with $products_per_row in the file.
__________________
Regards,
Piotr Markushin

X-Cart PDF Catalog Generator NEW
Professional X-Cart Skins Store (7 new skins added in August 2008!)

ahedOffice.com - Web 2.0 Online Groupware
Reply With Quote