In my module, I am getting the current ID and then using the category repository and the "getChildren" method. This works great, except it doesn't return child categories with product counts of 0.
How would I get around this?
"getAllChildren" seemed promising, but returned all descendants, whereas I'm just looking for the immediate children, regardless of product counts.
Edit: For testing purposes, I've added products to these categories that aren't showing up. Their ID's still aren't being returned via the GetChildren method.