Guest Posted August 18, 2003 Posted August 18, 2003 I know this should be an easy fix, but can anyone tell me where I need to go in order to remove the actual "number of products" that are in each category from the category listings? In the categories infobox, I only want the name of the category to show, and not the # of products within the cateogry.
Guest Posted August 24, 2003 Posted August 24, 2003 Could you tell me what to do please because I want to do this as well. I found the file, it must be catalog/includes/boxes/categories.php but I don't know what to remove. Or is there something easy in admin that I missed? New to programming - please help.
Guest Posted August 24, 2003 Posted August 24, 2003 *two minutes later* whoops I found it also :oops: If anyone else needs to do this, it's in admin -> my store -> set Show Category Counts to false
JimBobUK Posted September 7, 2003 Posted September 7, 2003 Thats fine if you want to remove the whole thing but if my menu looks like.... Cables & Tools-> (122)Cameras-> Case Modding-> Cases-> CD / DVD-> Communications-> and I want it to look like... Cables & Tools (122)Cameras Case Modding Cases CD / DVD Communications what do i do to remove the "->" ????
Guest Posted September 8, 2003 Posted September 8, 2003 I'm running OSC v1.2 and Show Category Counts is not listed in my Admin>My Store. So I dug a little deeper and found that yes to change the code you must goto categories.php only to find that the code needing to be changed actually resides in the application_top file. Around line 148 change the define('SHOW_COUNTS', 'true'); // show category count: true=Yes False=No define('USE_RECURSIVE_COUNT', 'true'); // recursive count: true=Yes False=No to define('SHOW_COUNTS', 'false'); // show category count: true=Yes False=No define('USE_RECURSIVE_COUNT', 'false'); // recursive count: true=Yes False=No and that achieves the same result as the admin page. Still looking for the "->" so it can be removed...any suggestions would be greatly appreciated. Thanks in advance.
JimBobUK Posted September 9, 2003 Posted September 9, 2003 I have done this now! I found the andswer in the file.... includesboxescategories.php file find the line if (tep_has_category_subcategories($counter)) { $categories_string .= '->'; comment out as below... if (tep_has_category_subcategories($counter)) {// $categories_string .= '->'; This will stop the "->" from appearing! so you get Category Item (###) Perfect!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.