It’s not the first time you’re not reading my posts properly… please do, and not just for me but for all your users!
I said “I want to keep the categories only” and you give me an answer to the total opposite.
You already know there are multiple layers in WooCommerce
1. Store
2. Categories
3. (n) Subcategories
4. Product page
For levels 2 and 3, we can define via the categories page whether we want to display subcategories or products or both.
However, for level 1, I am not able to find how to display only categories. Currently it is displaying both categories and products.