When WooCoomerce updated to version 3.3, the 'Uncategorized' product category was added and then appeared on all pages (including the WooCommerce shop page) where products were displayed if there are any products with. All products that do not have at least one assigned category is then then (logically I guess) assigned to the 'uncategorised' category.
I always used the (possibly not ideal) approach of hiding seasonal products by removing all categories from these products when they were out of season. This new change meant that these 'hidden' products all of a sudden appeared on the site for sale in this new category which I do not want on any page.
I have searched the web looking for a way of hiding the 'Uncategorized' product category and found that this problem is widespread. A number of solutions were proposed including making the “uncategorized” category a subcategory and then hiding all the subcategories or hiding categories using CSS.
However, none of these solutions are 'clean' or robust enough.
My work-around has been to only show the products that I want visible by using the product categories shortcode (without the uncategorised category id). For example:
[product_categories ids="11, 19, 18, 14, 7, 8, 9, 10, 15, 98, 16, 17"]
but this does not solve the issue on the shop page (which does not use shortcodes).
I wonder if anyone has a robust method for hiding the 'Uncategorized' product category as is an issue that is topical and appears to be widespread at the moment.