Jump to content

[solved] Remove tag "There are no products" when no products.


Jevgen

Recommended Posts

Hello. How to delete "There are no products” text header in categories pages

category.tpl has following code PS 1.3.6.0:

{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}



How can i edit this code that if no product i cannot see "There are no products". Because when I use subcategories I see phrase “There are no products”, but i do not want see it ))

38951_OhOOTBnlp0ZxxSZvF0hb_t

Link to comment
Share on other sites

  • 4 weeks later...

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...