View Single Post
  #1  
Old 08-22-2008, 11:44 PM
 
anela2003 anela2003 is offline
 

Senior Member
  
Join Date: Nov 2007
Posts: 103
 

Default Different Column Number Based on Category

I was looking through the boards and could not find anything that was even remotely similar to my question.

I'd like something like this:

{if $cat eq "342"}
then number of columns 4
{else}
number of columns 3
{/if}

This is for my main categories, by the way.

I tried editing the Appearance.products_per_row, x, %product.index% and any other variable or equation possible in products.tpl and products_t.tpl, but nothing ever does anything. It stubbornly just keeps the 3-column display.


Does anyone have anything that I can do that I haven't done already (=has not been said on these boards already)?


No paid mods, please (I got burnt before).


Thanks.
__________________
4.1.9 Gold

window valances | curtains
Reply With Quote