
Originally Posted by
gjh42
For a start, /includes/functions/functions_categories.php should have a function to count the products in a category. From there, you could loop through the categories and apply SQL to reset the status of each cat without products. Someone should be able to come up with the SQL statement for the resetting.