![]() |
Question about Products.tpl and Subcategories
Suppose I want to list products by subcategory in home.php?cat=category. For each subcategory, I want it to have a different title. Is there an element in the $products array that shows the subcategory id? Everytime I use $subcat.categoryid , it gives me the first subcategory for the main category. Any help would be much appreciated. Also is there a page that lists all the elements of each array that x-cart uses?
|
Okay after researching a bit, I understand smarty templates a little better, but still can't find an answer to my problem. Maybe it'd be better if I gave a better description of what I want. Currently, when you access the main category say home.php?cat=249 , it displays all the products that belong to that category. What I want to do is display those products by their subcategories and have a header for each subcategory. Is there any conceivable way to do this? For a better idea of what I want, you can view a standard html page here: http://www.eyeseedesigns.com/intercage/ded-amd.html . Thanks again, all help is appreciated.
|
All times are GMT -8. The time now is 11:28 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.