Guest noveltycentral Posted October 25, 2005 Share Posted October 25, 2005 how do i remove "There are no products in this catagory"?, as my products are in catagorie's under the main catagory it's giving my visitors the wrong impression. What file do i need to edit to remove it.? Regards Derren Quote Link to comment Share on other sites More sharing options...
Guest sunshine Posted October 25, 2005 Share Posted October 25, 2005 Ho NoveltyCentral, Easy. You can change any wording by going to your Language folder then choosing the language you want to change. Quote Link to comment Share on other sites More sharing options...
Guest Posted October 25, 2005 Share Posted October 25, 2005 The problem with that is it will change through out the site and i think they just want it removed from index page. I believe they are experiancing same problem as me on my new site all my products r in sub cats in a main cat so it displays annoying message at bottom. i'm working on this and will post here when i fix it. Quote Link to comment Share on other sites More sharing options...
markscarts Posted October 25, 2005 Share Posted October 25, 2005 It happens in any category page that contains no prods, even if cat contains subcats with prods. You can remove it completely in template, skins/your_skin/styleTemplates/content/viewCat.tpl Look for this block of code: <!-- BEGIN: noProducts --> <div>{TXT_NO_PRODUCTS}</div> <!-- END: noProducts --> Remove it, or comment the section out like this: <!-- BEGIN: noProducts <div>{TXT_NO_PRODUCTS}</div> END: noProducts --> The alternative would be to change the message, in which case you leave viewCat.tpl alone and go to your language file: language/en/lang.inc.php and find this line: 'no_prods_in_cat' => "There are no products in this category.", Change the part in the double quotation marks to say what you want, for instance, "There are no additional products below. Please choose a subcategory or another category to view products." Quote Link to comment Share on other sites More sharing options...
Guest noveltycentral Posted October 25, 2005 Share Posted October 25, 2005 Hi, Thanks for that, i edited my language file as was suggested and it worked out great. It did remove it form all the catagorie's which is just what i needed. Thanks again for your help. Regards Derren Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.