Ulukman Posted August 19, 2013 Share Posted August 19, 2013 Hi all, I'm developing my first prestashop website and I've stumbled upon the following question: Is it possible to display logos of manufacturers in the manufacturers menu(left menu)? Currently it's just ul. And also is it possible to limit number of manufacturers to be displayed (e.g. 10 only, others would be shown in dropdownl Thanks! Link to comment Share on other sites More sharing options...
NemoPS Posted August 19, 2013 Share Posted August 19, 2013 Open your blockmanufacturer.tpl file (in the theme's modules folder if it's there, otherwise in modules/blockmanufacturer) and change this line <li class="{if $smarty.foreach.manufacturer_list.last}last_item{elseif $smarty.foreach.manufacturer_list.first}first_item{else}item{/if}"><a href="{$link->getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)}" title="{l s='More about' mod='blockmanufacturer'} {$manufacturer.name}">{$manufacturer.name|escape:'htmlall':'UTF-8'}</a></li> into <li class="{if $smarty.foreach.manufacturer_list.last}last_item{elseif $smarty.foreach.manufacturer_list.first}first_item{else}item{/if}"><a href="{$link->getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)}" title="{l s='More about' mod='blockmanufacturer'} {$manufacturer.name}"><img src="{$base_dir}img/m/{$manufacturer.id_manufacturer}.jpg"/></a></li> You can vary the size of course, based on your image types, by adding like -small_default before the extension Link to comment Share on other sites More sharing options...
Ulukman Posted August 19, 2013 Author Share Posted August 19, 2013 Omg! Thank you very much, works like magic! Link to comment Share on other sites More sharing options...
Ulukman Posted August 19, 2013 Author Share Posted August 19, 2013 do i just add [solved] to the topic name or is there a button somewhere? (can't find it) Link to comment Share on other sites More sharing options...
NemoPS Posted August 19, 2013 Share Posted August 19, 2013 I did it for you In any case you only need to edit the first message with the full editor Link to comment Share on other sites More sharing options...
Recommended Posts