Neith Posted June 19, 2007 Share Posted June 19, 2007 Any ideas on how to display the categories box on the main site (ie, not in /catalog)? Link to comment Share on other sites More sharing options...
Avec Posted June 19, 2007 Share Posted June 19, 2007 Do you mean you have the catalog in a /catalog directory and want to show the catagories one directory up? If so, you will need to insert images or whatever and link to the catagories from index.html that you put together yourself. Link to comment Share on other sites More sharing options...
Neith Posted June 19, 2007 Author Share Posted June 19, 2007 I was thinking more along the lines of having an include that pulls the categories from the database and displays them. I was hoping there'd be a contribution or something that already does this. I want to be able to display the catagories list on all pages of my site, not just the shopping cart side. Link to comment Share on other sites More sharing options...
Neith Posted June 19, 2007 Author Share Posted June 19, 2007 Nevermind. I've decided to just query the `categories` table and pull the rows that have 'parent_id' set to 0. Then fetch the categories_name from `categories_description`and link it to /catalog/index.php?cPath=id Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.