infectedfx Posted September 18, 2009 Share Posted September 18, 2009 Hello, cheers to all prestashop members I'm new here and i try to include the manufacter-list.tpl in home, because I don't want to show the most recent products or any more, only the manufacters for the user choose what they want.I try to use this {include file=$tpl_dir./manufacturer-list.tpl} The result is.. nothing, now I try whit this code, runs at half... show the name, but the # of products, the "logo", desc and other things for each manufacter not showing (see attachment image)Do you can help me? {foreach from=$manufacturers item=manufacturer name=manufacturer_list} {if $smarty.foreach.manufacturer_list.iteration <= $text_list_nb} <!-- logo --> {if $manufacturer.nb_products > 0}getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)|escape:'htmlall':'UTF-8'}" title="{$manufacturer.name|escape:'htmlall':'UTF-8'}">{/if} {if $manufacturer.nb_products > 0}{/if} <!-- name --> {if $manufacturer.nb_products > 0}getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)|escape:'htmlall':'UTF-8'}">{/if} {$manufacturer.name|truncate:60:'...'|escape:'htmlall':'UTF-8'} {if $manufacturer.nb_products > 0}{/if} getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)}" title="{l s='More about' mod='blockmanufacturer'} {$manufacturer.name}">{$manufacturer.name} {/if} {/foreach} Thank you! Link to comment Share on other sites More sharing options...
sanp Posted February 22, 2010 Share Posted February 22, 2010 Did you find a solution for this?If so, it would be great if you can share it.Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts