stuffedhippo Posted June 4, 2013 Share Posted June 4, 2013 Using PS 1.5.4. I have about 14 categories which all have at least 10 sub categories. I would like to be able to show on the categories.tpl file the sub categories as well. IE: Drilling - Drills - Drill Bits - Diamond Drills Woodworking - Sanders - Planers etc etc etc Both the categories and sub cats need to be links to the products. Any ideas. Thanks Link to comment Share on other sites More sharing options...
Alex Simonchik BelVG Posted June 4, 2013 Share Posted June 4, 2013 (edited) Hi, prestashop default theme has this feature: try to looking next code: <!-- Subcategories --> <div id="subcategories"> <h3>{l s='Subcategories'}</h3> <ul class="inline_list"> {foreach from=$subcategories item=subcategory} .... inside category.tpl file. Regards Edited June 4, 2013 by Alexander Simonchik (see edit history) Link to comment Share on other sites More sharing options...
stuffedhippo Posted June 4, 2013 Author Share Posted June 4, 2013 I am hacking around the defualt theme. I don;t think I made my self clear. I want to show all categories and sub categories on one page. I have 14 ctas off the root and then each have 10 or so sub cats. Please see attached files for mock-up: Link to comment Share on other sites More sharing options...
Alex Simonchik BelVG Posted June 5, 2013 Share Posted June 5, 2013 Can you post here file with render this template? It is the categories.tpl, I guess. Link to comment Share on other sites More sharing options...
Paddaman Posted June 5, 2013 Share Posted June 5, 2013 Hi There, I also have same problem. (I don't need the subs to be displayed as well) I just want for example : Products (main link on top menu)... When clicked it must show for example Albums, Frames, Accessories. Then when on clicking on "Albums" it must display all subs for Albums (Traditional, etc etc). When in last Sub it must only show the products... Read on previous post that this can be done, but looks like it is quite a mission to do? I have Layered navigation & did switch off the "show sub products" but now it does not even show the Sub Cats? Any help would be appreciated Link to comment Share on other sites More sharing options...
Alex Simonchik BelVG Posted June 5, 2013 Share Posted June 5, 2013 Hi Paddaman, you want to display subcategories on top menu, do I understand you clearly? But standart module blocktopmenu can do it. Regards Link to comment Share on other sites More sharing options...
The Report Store Posted June 9, 2013 Share Posted June 9, 2013 (edited) Is there some type of manual that explains this? I don't understand your logic in the settings page. Visual person I am. Thanks. Root - SAGE Software Category - Sage 50 - CA Sub-Category - Accounts Receivable Sub-sub Category - Contractor's AR Statement (final product) A manual would so help to get this set up! Or a few words. Edited June 9, 2013 by LiseCL (see edit history) Link to comment Share on other sites More sharing options...
Alex Simonchik BelVG Posted June 10, 2013 Share Posted June 10, 2013 Hi again, just configure blocktopmenu module: http://clip2net.com/clip/m226647/1370847407-clip-22kb.png Regards Link to comment Share on other sites More sharing options...
ramesh25 Posted September 30, 2013 Share Posted September 30, 2013 Hi Alexander, I want to display subcategories on top menu as well how can I do that? Link to comment Share on other sites More sharing options...
vekia Posted September 30, 2013 Share Posted September 30, 2013 subcategories appear in top horizontal menu by default, just select parent category, add it as menu item and you will see all subcategories in dropdown after hoovering on main item. Link to comment Share on other sites More sharing options...
ramesh25 Posted September 30, 2013 Share Posted September 30, 2013 Hi, Thanks for quick reply. I want to show only one subcategory in top horizontal menu among the list of subcategories, how can I do that, I mean where to make changes? Link to comment Share on other sites More sharing options...
vekia Posted September 30, 2013 Share Posted September 30, 2013 go to modules > modules tab then search for "top horizontal menu" module click on configure button - you will see then module configuration page. this instruction will work if you use default modules in your theme Link to comment Share on other sites More sharing options...
Fadelola Posted October 14, 2014 Share Posted October 14, 2014 I'm lost still Link to comment Share on other sites More sharing options...
strokes86 Posted April 21, 2015 Share Posted April 21, 2015 I have some categories: Law Music History and these subcategories in history: Indian American European I want to put in the menú a link to History and when i click there shows me in the page, the subcategories of history (only the name), so when o click in American for example, show me all the products that i have for that subcategory. How can i do that? Link to comment Share on other sites More sharing options...
Recommended Posts