This is something that I’ve been struggling with for a while now and I know others suffer with the same thing. Looping posts or products categories through All Terms or Current Post Terms gives us all listed categories, both parent and child ones, and there’s no easy way to filter them.
I know that you can achieve something like showing only parent categories through custom hooks, but I think this should be something integrated with loopers overall. I’m still struggling to get a “simple” loop to work where I first loop my parents and them, under each parent I loop their child categories, so I can get a navigation menu for a store, for an example.
Another thing that should be possible to do is getting a value from a looped object the same way we can do with arrays and {{dc:looper:field key=""}}. That would be useful to get around the issue above through conditions.