prestamax Posted January 26, 2014 Share Posted January 26, 2014 (edited) If I use a theme that has a right column on the single product page it is not possible to display block categories in this column. Only the headline is visible but the block doesn't show any categories even if "dynamic modus for subcategories" is disabled. So it doesn't seem to be possible to provide category navigation in the right or left column on product detail page via block categories module. Is this true? Edited January 27, 2014 by prestamax (see edit history) Link to comment Share on other sites More sharing options...
prestamax Posted January 27, 2014 Author Share Posted January 27, 2014 It seems that the block category module has become a subcategory block rather than a category block. It only shows subcategories on category pages. If I place the block category module on a page such as new arrivals, or any other page that is not a category page then no category will be visible. This is not actually what a category block is meant for, isn't it? Link to comment Share on other sites More sharing options...
vekia Posted January 27, 2014 Share Posted January 27, 2014 any chance to get url to your website? i want to inspect it Link to comment Share on other sites More sharing options...
prestamax Posted January 28, 2014 Author Share Posted January 28, 2014 (edited) Hi Vekia, you can see it on the following links. Block categories is in the right column first position. Dynamic mode for sub levels is disabled. In the parent category you can see all available sub categories http://cinemagie.de/en/3-women As soon as you open a sub category again block category shows the relevant sub categories onlyhttp://cinemagie.de/en/4-topsAs soon as you open the single product page block category doesn't show any category at allhttp://cinemagie.de/en/tshirts/1-faded-short-sleeve-tshirts.html If you click on New Products, you can only see the heading "Categories" but no category shows uphttp://cinemagie.de/en/new-products There is no way to show ALL categories if you want to provide a category navigation on all pages. Edited January 28, 2014 by prestamax (see edit history) 1 Link to comment Share on other sites More sharing options...
vekia Posted January 28, 2014 Share Posted January 28, 2014 what module you use for categories block? Link to comment Share on other sites More sharing options...
prestamax Posted January 28, 2014 Author Share Posted January 28, 2014 (edited) what module you use for categories block? the standard block categories (v2.2) that comes with prestashop Edited January 28, 2014 by prestamax (see edit history) Link to comment Share on other sites More sharing options...
mkobur Posted January 29, 2014 Share Posted January 29, 2014 Dear Vekia, I need your help. Please see attached file. My site name is http://printpackandpost.net/ and i used product show module for site left coloumn. Thanks. Link to comment Share on other sites More sharing options...
vekia Posted January 29, 2014 Share Posted January 29, 2014 global.css lin 9135 remove display:none; #product #page #columns #left_column { display: none; } in addition, make sure that you've got modules attached to left column. Link to comment Share on other sites More sharing options...
mkobur Posted January 29, 2014 Share Posted January 29, 2014 global.css lin 9135 remove display:none; #product #page #columns #left_column { display: none; } in addition, make sure that you've got modules attached to left column. Dear Vekia This module name is Home tab module. Link to comment Share on other sites More sharing options...
vekia Posted January 29, 2014 Share Posted January 29, 2014 you've got home tab module attached to the left column ? or what? Link to comment Share on other sites More sharing options...
mkobur Posted January 29, 2014 Share Posted January 29, 2014 you've got home tab module attached to the left column ? or what? Dear Vekia I remove disply:none; in global.css. But not attached product view page. You give me more advice for slove. Thanks Link to comment Share on other sites More sharing options...
prestamax Posted January 29, 2014 Author Share Posted January 29, 2014 (edited) mkobur, If you look at your product detail page with firebug you will see that your product description is a full width description. This seems to be a trend in many themes. I too prefer a sidebar at the product detail page. You will need to adjust the width of the center column in order to give the left column some space. Look here, this is the structure of your product detail page, the center column takes all the space. You need to remove the 950px width then the original width will apply. Edited January 29, 2014 by prestamax (see edit history) Link to comment Share on other sites More sharing options...
mkobur Posted January 29, 2014 Share Posted January 29, 2014 mkobur, If you look at your product detail page with firebug you will see that your product description is a full width description. This seems to be a trend in many themes. I too prefer a sidebar at the product detail page. You will need to adjust the width of the center column in order to give the left column some space. Look here, this is the structure of your product detail page, the center column takes all the space. You need to remove the 950px width then the original width will apply. Dear prestamax, i edit this and got left column some space. Now how to add home tab module on left column. http://printpackandpost.net/home/170-stickers.html Thanks Link to comment Share on other sites More sharing options...
prestamax Posted January 29, 2014 Author Share Posted January 29, 2014 The home tab module is for the home page only. You need to hook the categories module to left column. You can do this if you go to modules => position. Here you will find a button at the top "transplant a module", then select the module and the hook DisplayLeftColumn In prestashop 1.6 you will probably have the same problem like me that the product detail page won't show the categories. You can solve this by using the block categories module from the 1.5 version. Link to comment Share on other sites More sharing options...
mkobur Posted January 29, 2014 Share Posted January 29, 2014 Dear prestamax, Thanks for your advice. Link to comment Share on other sites More sharing options...
mkobur Posted January 29, 2014 Share Posted January 29, 2014 The home tab module is for the home page only. You need to hook the categories module to left column. You can do this if you go to modules => position. Here you will find a button at the top "transplant a module", then select the module and the hook DisplayLeftColumn In prestashop 1.6 you will probably have the same problem like me that the product detail page won't show the categories. You can solve this by using the block categories module from the 1.5 version. Now i want make befor position. now http://printpackandpost.net/home/219-executive-business-cards.html Link to comment Share on other sites More sharing options...
mkobur Posted January 30, 2014 Share Posted January 30, 2014 you've got home tab module attached to the left column ? or what? Dear Vekia I remove disply:none; in global.css. But not attached product view page. You give me more advice for slove. Please help me. Thanks Link to comment Share on other sites More sharing options...
Law2602 Posted March 25, 2014 Share Posted March 25, 2014 global.css lin 9135 remove display:none; #product #page #columns #left_column { display: none; } in addition, make sure that you've got modules attached to left column. my global.css doesnt seem to be that long or have this line? am I looking at the wrong file? (inside the theme/css/global.css)? Link to comment Share on other sites More sharing options...
prestamax Posted March 25, 2014 Author Share Posted March 25, 2014 mkobur was using another theme not default-bootstrap (thus another global.css) Link to comment Share on other sites More sharing options...
Law2602 Posted March 25, 2014 Share Posted March 25, 2014 Then what would the solution be for the default theme? if there is one :-) Link to comment Share on other sites More sharing options...
prestamax Posted March 25, 2014 Author Share Posted March 25, 2014 (edited) You do not need any modification of global.css just some configuration in your theme/module settings. Enable left or right column on product page in your theme settings (=> default-bootstrap => edit => scroll down and enable left or right column on product page and you are done. Check with your block categories module that it is hooked to left or right column and that you have disabled dynamic mode. Edited March 25, 2014 by prestamax (see edit history) Link to comment Share on other sites More sharing options...
Law2602 Posted March 25, 2014 Share Posted March 25, 2014 (edited) Thank you for your quick reply prestamax, however eventhough I have enabled left column and hooked to Displayleftcolumn and disabled dynamic, then I still dont get any category block in the category page is there anything I can have missed`? (am on local so cant share link) The "viewed products block" is in the left column, but no category block Edited March 25, 2014 by Law2602 (see edit history) Link to comment Share on other sites More sharing options...
prestamax Posted March 25, 2014 Author Share Posted March 25, 2014 Have you checked if there is an exception in the block categories module for the product page? If you go to modules => positions => displayLeft => blockcategories and click on "edit" you will see the list of pages and exceptions are marked blue. You can remove an exception with strg + click. 1 Link to comment Share on other sites More sharing options...
Law2602 Posted March 25, 2014 Share Posted March 25, 2014 Have you checked if there is an exception in the block categories module for the product page? If you go to modules => positions => displayLeft => blockcategories and click on "edit" you will see the list of pages and exceptions are marked blue. You can remove an exception with strg + click. yes Prestamax, I have.. no blue markings Link to comment Share on other sites More sharing options...
prestamax Posted March 25, 2014 Author Share Posted March 25, 2014 Are you sure that you have disabled dynamic mode in the blockcategories settings? Link to comment Share on other sites More sharing options...
Law2602 Posted March 26, 2014 Share Posted March 26, 2014 (edited) I am sure. Just tried to save it with dynamic on, and then with it off. no effect what so ever.. I do however not have any subcategories. I just need the ordinary categories shown ________________________________________ OMG it finally hit me! I had it set to "current" in root category - in the module setting. Which is why it wouldnt show anything in the category section, as I had no subcategories... DOH! Well at least I can hope that someone else will learn from my mistake Thanks for the help people! Edited March 26, 2014 by Law2602 (see edit history) Link to comment Share on other sites More sharing options...
prestamax Posted March 26, 2014 Author Share Posted March 26, 2014 Try if it change anything if you use the blockcategories module from prestashop 1.5 (it works with prestashop 1.6 too) Link to comment Share on other sites More sharing options...
rinzlerx64 Posted March 31, 2014 Share Posted March 31, 2014 (edited) Hi, I have the same problem but in category page. In my case I don't think there's a css issue, the left column is displayed, I can see the cms module. But the category block is not loaded.The hook is right and I didn't see any smarty if statemen that could block this module, I've checked the exceptions too...Any clue @vekia? Thanks! Edited March 31, 2014 by rinzlerx64 (see edit history) Link to comment Share on other sites More sharing options...
Sazuki Posted April 28, 2014 Share Posted April 28, 2014 I have issue on subcategory page. No category and layered navigation module is visible there. Subcategory - last sucategory at tree- no category module : http://www.ocel-stribro.cz/55-damske-privesky Yes I have modules hooked at left column. Link to comment Share on other sites More sharing options...
vekia Posted April 28, 2014 Share Posted April 28, 2014 default categories block appears only if there are subcategories to display. if there is no subcategories - block doesnt appear. Link to comment Share on other sites More sharing options...
adrione Posted April 28, 2014 Share Posted April 28, 2014 I solved it editing the file /themes/yourtheme/modules/blockcategories/blockcategories.tpl and replace: {if $page_name == 'index'} for {if $page_name == 'index' || $page_name =='category'} With this feature you can put where you want. F.e: category, product, products-comparison, search, etc. And now the blockcategories module appears on the left column of category page Link to comment Share on other sites More sharing options...
prestamax Posted April 28, 2014 Author Share Posted April 28, 2014 You don't need to change the files of blockcategories anymore. Now there is a setting where you can disable dynamic mode. Then the categories block is like it was in 1.5. If you enable dynamic mode it shows subcategories only. You can do the switch in the backend now without touching code. Link to comment Share on other sites More sharing options...
adrione Posted April 28, 2014 Share Posted April 28, 2014 I says it when the blockcategories dissapears on the category page. Enabling or disabling the dinamic mode don't affect to show on some pages, only show the full categories or the active category. Link to comment Share on other sites More sharing options...
vekia Posted April 28, 2014 Share Posted April 28, 2014 you can disable / enable view of module also under modules > positions tab, search for left column modules list, and click on edit button near module. you can define there exceptions 1 Link to comment Share on other sites More sharing options...
kingjc Posted May 20, 2014 Share Posted May 20, 2014 I have the same problem in some products my categories shows http://casebg.net/aksesoari-apple/19--iphone-220v.html and on everything new that i upload categories does not show http://casebg.net/note-3/1792--mercury-flip-window-samsung-galaxy-note-3-n9000-n9005.html Can someone help me out, it important to me Link to comment Share on other sites More sharing options...
kingjc Posted May 20, 2014 Share Posted May 20, 2014 i forgot to tell that im on prestashop 1.4.5.1 and i just found, that only products with added color attributes seems to make the problem any answers to that ? Link to comment Share on other sites More sharing options...
Recommended Posts