alexmafia Posted October 13, 2014 Share Posted October 13, 2014 I've 2 issues that i couldn't fix regarding the Manufacturer list in the blocktopmenu. 1. When i click on Manufacturers in the topmenu it should open a page listing all manufacturers i have, but it also says there is no manufacturer. 2. I'd love to change the submenu in the manufacturer to manufacturers logos instead of text. Anyone can advice me please. thanks Link to comment Share on other sites More sharing options...
NemoPS Posted October 13, 2014 Share Posted October 13, 2014 1. what is the link you get? Is it the actual manufacturer list page? Many users have reported the same issue lately. 2. Try editing this case 'ALLMAN': $link = new Link; $this->_menu .= '<li><a href="'.$link->getPageLink('manufacturer').'" title="'.$this->l('All manufacturers').'">'.$this->l('All manufacturers').'</a><ul>'.PHP_EOL; $manufacturers = Manufacturer::getManufacturers(); foreach ($manufacturers as $key => $manufacturer) $this->_menu .= '<li><a href="'.$link->getManufacturerLink((int)$manufacturer['id_manufacturer'], $manufacturer['link_rewrite']).'" title="'.Tools::safeOutput($manufacturer['name']).'">'.Tools::safeOutput($manufacturer['name']).'</a></li>'.PHP_EOL; $this->_menu .= '</ul>'; break; About line 490 of blocktopmenu.php. Instead of grabbing the text like this Tools::safeOutput($manufacturer['name']) Use an img tag and point it to _PS_IMG_DIR_ . 'm/'.$manufacturer['id_manufacturer'].'.jpg' 1 Link to comment Share on other sites More sharing options...
alexmafia Posted October 13, 2014 Author Share Posted October 13, 2014 Yes sir, it's the actuall manufacturer list page and it doesn't show anything, you can check it your self malabsy.com Link to comment Share on other sites More sharing options...
alexmafia Posted October 13, 2014 Author Share Posted October 13, 2014 Sorry didn't know how to edit the code, do you mind helping me with that. thanks Link to comment Share on other sites More sharing options...
alexmafia Posted October 14, 2014 Author Share Posted October 14, 2014 Any one can help me with that please ? plus that the manufacturer list still not working... Link to comment Share on other sites More sharing options...
vekia Posted October 14, 2014 Share Posted October 14, 2014 Nemo already shared solution with you you have to alter prestashop files with .php files editor like notepad++ (never use simple windows notepad due to the wrong encoding) http://www.ehow.com/how_5122332_edit-php-files.html Link to comment Share on other sites More sharing options...
alexmafia Posted October 16, 2014 Author Share Posted October 16, 2014 Thank you Nemo and Vekia, i could do it and it looks much nicer this way , thanks again but still the issue of the Manufacturer page still exist. Link to comment Share on other sites More sharing options...
Recommended Posts