Closed RonanL closed 7 years ago
Magento\Catalog\Model\Category::getChildren() returns a string of comma-separated category ids. In order to get the category objects, the method to use is ::getChildrenCategories().
Magento\Catalog\Model\Category::getChildren() returns a string of comma-separated category ids. In order to get the category objects, the method to use is ::getChildrenCategories().