Guest Posted April 14, 2004 Posted April 14, 2004 Posted this in other forum with no response - please help When I click on a category - it shows a message of "There are no products to list in this category." even though it has sub categories. How do I stop it from showing that message please? Thanks Quote
Guest Posted April 14, 2004 Posted April 14, 2004 (edited) you need to find the following line ?define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.'); in the catalog/includes/languages/english/index.php Change it to ?define('TEXT_NO_PRODUCTS', 'Please Choose a Sub-Category'); This would display on any category without products but in practice there should never really be a category without items AND sub-categories so this should work well for you. Alternatively ?define('TEXT_NO_PRODUCTS', ''); Would remove the text all together but leave the option to add it later without trawling code. Cya Stot Edited April 14, 2004 by Stot Quote
Guest Posted April 15, 2004 Posted April 15, 2004 Hello, thanks for the help but that is not the problem. My main categories have subcategories. When I click on a main category I should get the images of the subcategories. I am not getting that. I am getting the message of no products Quote
Guest Posted April 15, 2004 Posted April 15, 2004 Sorry I thought you were getting your categories and that message showing. I put up a test category with just categories in it and worked ok, have you got any contributions installed that change the index.php? Cya Stot Quote
Guest Posted April 15, 2004 Posted April 15, 2004 No so far it is a fresh install with nothing else there. You can see an example at www.groupbuyers.net/buys - http://www.groupbuyers.net/apreub/index.php/cPath/26 - this is a main category with 2 subcategories so far but when you click it is says no items - it does not show the subcategories in the main page as it should. And this subcategory also shows empty although it has several other subcategories in it - http://www.groupbuyers.net/apreub/index.php/cPath/26_27 Also, any idea on how I can get that arrow out of the first category. I do not have that problem with any other category Thanks Quote
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.
Note: Your post will require moderator approval before it will be visible.