View Single Post
  #3  
Old 03-19-2007, 05:58 PM
 
brickholio brickholio is offline
 

Member
  
Join Date: Mar 2007
Posts: 14
 

Default Re: Catagory layout with products (almost there)

Quote:
Originally Posted by Local Hero
I know this question has been asked a bunch,

I want to slide my products inbetween each catagory. For instance:
T-Shirts
Standard T-Shirt
Kids Shirt
Long Sleeve

Jackets
Hooded
Full Zipper

I've been playing with the customer/catagories.tpl and I can get it to show the products in the box but only when I have already selected the catagory. I want it to always display all the products. I know this can be hard coded, but I was looking for a dynamic solution. Can anyone see where my code could be changed to do this? Thanks.

____X-Cart's code to display catagories_____
{if $config.General.root_categories eq "Y"}
{section name=cat_num loop=$categories}
<FONT class="CategoriesList"><A href="home.php?cat={$categories[cat_num].categoryid}" class="VertMenuItems">{$categories[cat_num].category}</A></FONT><br>
{/section}

_____I added below it_____
<br>{section name=product loop=$products}
<A href="product.php?productid={$products[product].productid}&cat={$cat}&page={$navigation_page}" class="ProductTitle">{$products[product].product}</A><BR>

Any update on this? Can we see a sample?

matt
__________________
4.1.6
Reply With Quote