web-connected Posted December 7, 2003 Posted December 7, 2003 My client would like to turn off the number of products in each category feature. For example: Default OS Commerce : Great Gifts-> (46) Desired Setting: Great Gifts Can someone please provide some guidance, I have searched for hours and cannot find an answer. Any help is much appreciated. Thanks in advance, John
TomThumb Posted December 7, 2003 Posted December 7, 2003 In admin, Configuration, My Store, Show Category Counts, Set to False while (!succeed) {try()}; GMT -6:00
web-connected Posted December 8, 2003 Author Posted December 8, 2003 I am using Version 2.1 of OSCommerce and this option is not available under Configuration > My Store. I had even upgraded the DB to version 2.2 and still was unable to make it work. Any other options or suggestions? Thanks, John
web-connected Posted December 10, 2003 Author Posted December 10, 2003 For those of you who may be running older carts, such as myself, here is how to get rid of the category counts and the arrows. Thanks for anyone who helped. To turn off the categories, please do the following: Open your includes/application_top.php and look for the following around line 160: // Categories Box: recursive products count //define('SHOW_COUNTS', 'False'); // show category count: true=Yes False=No //define('USE_RECURSIVE_COUNT', 'true'); // recursive count: true=Yes False=No Just "comment out" (//) the two defines and you'll be fine. After doing the above, you will notice that you still have the arrows. To turn off the arrows, please perform the following: Open the File:.../includes/boxes/categories.php Line: 43 $categories_string .= '->'; delete -> I was using the wrong search strings, but thanks for everyone's input. This is by far the best community on the net. Cheers, John
jonnyfilmboy Posted February 21, 2004 Posted February 21, 2004 This works on every page except default.php. I have 2.2CVS. Anyone know how I can get the numbers off of the home page for me??? See my website for examples... lightstormimages.com - The Store ;)
jonnyfilmboy Posted February 21, 2004 Posted February 21, 2004 Never mind. Must have been a cache thing. The numbers went away once I closed and reopened my browser. Thanks everyone!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.