Jevgen Posted February 21, 2011 Share Posted February 21, 2011 Hello. How to delete "There are no products” text header in categories pagescategory.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 )) Link to comment Share on other sites More sharing options...
sbnet Posted February 21, 2011 Share Posted February 21, 2011 Hi,You just have to delete '{l s=’There are no products.’}' in your category.tpl Link to comment Share on other sites More sharing options...
Jevgen Posted February 21, 2011 Author Share Posted February 21, 2011 Thanks bro Link to comment Share on other sites More sharing options...
Jevgen Posted February 21, 2011 Author Share Posted February 21, 2011 Can you help me with this topic, please.http://www.prestashop.com/forums/viewthread/92994 Link to comment Share on other sites More sharing options...
wayne Posted March 18, 2011 Share Posted March 18, 2011 don't forget to remove the < p class="warning"> line as well or you will be left with the beige line.Cheers!Wayne Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now