orijit Posted April 19, 2014 Share Posted April 19, 2014 (edited) Sidebar not showing in my some product category page and showing in category page. This is category page link(http://www.put2kart.com/categories-14) and this is (http://www.put2kart.com/leather-19) product category page.How to display sidebar in product category page. Please help me. Edited April 19, 2014 by orijit (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted April 19, 2014 Share Posted April 19, 2014 As far as I can see they are both categories. Does your theme have a module that lets you disable columns by category? Link to comment Share on other sites More sharing options...
orijit Posted April 19, 2014 Author Share Posted April 19, 2014 I do not disable any module of my theme.When i create a new category and select that category in product, after that in front end sidebar not showing.Please help me again. Link to comment Share on other sites More sharing options...
vekia Posted April 19, 2014 Share Posted April 19, 2014 it works the same if you turn on force compilation and turn of smarty cache? Link to comment Share on other sites More sharing options...
orijit Posted April 19, 2014 Author Share Posted April 19, 2014 Vekia as you said I followed your advice but problem was not solved. In (http://www.put2kart.com/leather-19) this page [<div class="left_cat"> </div>] this div showing blank. i need sidebar code to show product in sidebar.But in (http://www.put2kart.com/bags-7) this page [<div class="left_cat"> </div>] this div have lots of code to show sidebar. Please help me to solve this problem. Link to comment Share on other sites More sharing options...
NemoPS Posted April 19, 2014 Share Posted April 19, 2014 Can you share the inner bit of code from the tpl source file? Link to comment Share on other sites More sharing options...
orijit Posted April 19, 2014 Author Share Posted April 19, 2014 You need which .tpl file please tell me i'will share with you. Link to comment Share on other sites More sharing options...
NemoPS Posted April 19, 2014 Share Posted April 19, 2014 I don't know, it's a custom theme, so it might be header.tpl as well as something else. Search for the left column code inside header.tpl and paste the snippet here Link to comment Share on other sites More sharing options...
SmartDataSoft Posted April 19, 2014 Share Posted April 19, 2014 @orijit you site have jquery error. due to that the side bar do not show. SyntaxError: unterminated string literal var idProduct = $(this).attr('rel').replace('aj Link to comment Share on other sites More sharing options...
orijit Posted April 19, 2014 Author Share Posted April 19, 2014 @smartdatasoft Please tell me which jquey file have error.and please tell me the path of jquery file. Link to comment Share on other sites More sharing options...
SmartDataSoft Posted April 19, 2014 Share Posted April 19, 2014 SyntaxError: unterminated string literal var idProduct = $(this).attr('rel').replace('aj plusone.js (line 14, col 46) Link to comment Share on other sites More sharing options...
orijit Posted April 19, 2014 Author Share Posted April 19, 2014 (edited) @smartdatasoft i'do not fild the plusone.js. Please tell me the path of this file like /themes/put2kart/js. Thank you Edited April 19, 2014 by orijit (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted April 21, 2014 Share Posted April 21, 2014 in my opinion it's not related to js file, it's smoething in core please enter somewhere to your footer.tpl file this {if $smarty.get.debug==1}{debug}{/if} then i will be able to see debug report. 1 Link to comment Share on other sites More sharing options...
orijit Posted April 21, 2014 Author Share Posted April 21, 2014 @vekia i put that code in my website (http://demo.ivdisplays.net/prestashop/-leather-22) this is.Now please chek debug report. This code i put in my demo site original and demo has same. Link to comment Share on other sites More sharing options...
vekia Posted April 21, 2014 Share Posted April 21, 2014 debug appears as a popup when you enter the: http://demo.ivdisplays.net/prestashop/-leather-22?debug=1 strange, your left column hook contains modules: but in page source they are invisible your theme .tpl file contains some conditions related to this variable? check header.tpl or footer.tpl (i don't know your theme) and search for coode with $HOOK_LEFT_COLUMN Link to comment Share on other sites More sharing options...
orijit Posted April 21, 2014 Author Share Posted April 21, 2014 I'checked header.tpl and footer.tpl there is no code like $HOOK_LEFT_COLUMN this.Now tell me what to do? Link to comment Share on other sites More sharing options...
SmartDataSoft Posted April 21, 2014 Share Posted April 21, 2014 @orijit which version of PS you are using. There was a bug for prestashop 1.6 for custom theme. There no side bar on product,category page show , due to PS new theme side bar architecutre. You need to add your theme meta file with those controller. https://github.com/PrestaShop/PrestaShop/commit/ef27ec278df5bc09ab680974d6e3dcd2eeaf4307 I am not sure but i think it help you. We have faced same issue when we update our theme for 1.6 Link to comment Share on other sites More sharing options...
orijit Posted April 21, 2014 Author Share Posted April 21, 2014 @smartdatasoft i'm using PrestaShop™ 1.5.6.2 this version of ps. Link to comment Share on other sites More sharing options...
orijit Posted April 21, 2014 Author Share Posted April 21, 2014 @vekia the freelancer make copy of default theme then inject code to the theme which i dont know. Link to comment Share on other sites More sharing options...
orijit Posted April 21, 2014 Author Share Posted April 21, 2014 The main problem is that when i create a new category and add product.After that when i see that category the sidebar of that category page not apper. Link to comment Share on other sites More sharing options...
orijit Posted April 21, 2014 Author Share Posted April 21, 2014 I have a module in back office named "Categories block" it's right to change setup to show sidebar on category page? Link to comment Share on other sites More sharing options...
Recommended Posts