Jump to content

manufacter list in home?


Recommended Posts

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!

11980_TQHXsRNJr6xCvx3MVsge_t

Link to comment
Share on other sites

  • 5 months later...
×
×
  • Create New...