Problem: On the product overview page, you can see sub categories also with your
main category. And you only want main categories to show up.
Solution: Go to 'Settings' -> 'Advanced Settings' -> 'Design' -> 'Other settings for the shop design'Here you can see 'Number of levels displayed in the product overview'.
Set the value to 0