Jump to content

[SOLVED] How to remove number of products


Recommended Posts

Change lines 5-15 of category.tpl in your theme's directory from:

{strip}
   {$category->name|escape:'htmlall':'UTF-8'}

       {if $nb_products == 0}{l s='There are no products.'}
       {else}
           {if $nb_products == 1}{l s='There is'}{else}{l s='There are'}{/if} 
           {$nb_products} 
           {if $nb_products == 1}{l s='product.'}{else}{l s='products.'}{/if}
       {/if}
{/strip}



to:

{strip}
   {$category->name|escape:'htmlall':'UTF-8'}
{*    
       {if $nb_products == 0}{l s='There are no products.'}
       {else}
           {if $nb_products == 1}{l s='There is'}{else}{l s='There are'}{/if} 
           {$nb_products} 
           {if $nb_products == 1}{l s='product.'}{else}{l s='products.'}{/if}
       {/if}
*}{/strip}

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...