helldog2004 Posted May 15, 2012 Share Posted May 15, 2012 (edited) Hi all, what I would like to do is delete the count of products on the supplier page. I just would like to show the clients / surfers who are our suppliers. I never upload products by supplier names so everything is set to 0. so all these 0's look kinda poor. How can I delete these product counts and set all the supplier logo's including names in the centre of the page? Picture include! Edited May 15, 2012 by helldog2004 (see edit history) Link to comment Share on other sites More sharing options...
Mike Kranzler Posted May 15, 2012 Share Posted May 15, 2012 Hi helldog, To remove the "0 products," please comment out the following lines in your theme's supplier-list.tpl file: {if $supplier.nb_products > 0} <a href="{$link->getsupplierLink($supplier.id_supplier, $supplier.link_rewrite)|escape:'htmlall':'UTF-8'}"> {/if} <span>{$supplier.nb_products|intval} {if $supplier.nb_products == 1}{l s='product'}{else}{l s='products'}{/if}</span> {if $supplier.nb_products > 0} </a> {/if} Please let me know if this works for you. -Mike Link to comment Share on other sites More sharing options...
helldog2004 Posted May 15, 2012 Author Share Posted May 15, 2012 Great problem is solved, thank you very much. I will change title to solved! Link to comment Share on other sites More sharing options...
Mike Kranzler Posted May 15, 2012 Share Posted May 15, 2012 I'm glad I could help! Happy selling! -Mike Link to comment Share on other sites More sharing options...
Recommended Posts