sinoland Posted September 9, 2014 Share Posted September 9, 2014 Hi, I would like to hook "Products in the same category" module into the left column. I added the following code public function hookLeftColumn($params) { return $this->hookProductFooter($params); } in productscategory.php. After module reset and transplant, that module doesn't show up in the left column although the Modules/Positions admin page shows that it has been hooked into displayLeftcolumn. Am I missing something? Please help and thank you in advance. Prestashop version 1.6.0.9 Regards. Link to comment Share on other sites More sharing options...
vekia Posted September 9, 2014 Share Posted September 9, 2014 your left column is active on product page? Link to comment Share on other sites More sharing options...
sinoland Posted September 9, 2014 Author Share Posted September 9, 2014 (edited) Hi vekia, Thanks for your reply. The category, information boxes, etc., show correctly in the left column on product page. However, in Themes' Advanced settings - Appearance of columns, there is no "Products in the same category" option for us to select. Is it due to the controller? Is so, which file should I try to edit? Edited September 10, 2014 by sinoland (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted September 10, 2014 Share Posted September 10, 2014 to decide if you want to display products category on some pages - you have to use exceptions tool, not a theme settings feature. go to modules > positions and search for "displayLeftColumn" modules list, when you click on "edit" button near module on that list, you will see tool to define exceptions Link to comment Share on other sites More sharing options...
sinoland Posted September 10, 2014 Author Share Posted September 10, 2014 (edited) Hi Vekia, It was a fresh installation of Prestashop 1.6.0.9 and there are no "Exceptions". The results that I'd like to achieve are that the same category's products are to be displayed as a text list in the left column. Wonder why the code change that I mentioned in post #1 and the controller override (see below) work for Prestashop 1.5.5.0 but not for Prestashop 1.6.0.9 Demo URL: http://ps1562.sinoland.net/index.php?id_product=5&controller=productPrestashop version: 1.5.5.0 Edited September 12, 2014 by sinoland (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts