Timeline for How to get count of active category children - Magento 2
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 26, 2023 at 12:55 | comment | added | Simon |
If you only care about the number of categories, you should better use $childCategory->getSize() to not load the full collection.
|
|
Jul 21, 2018 at 10:42 | comment | added | electroid |
Just in case you can also call count as method $childCategory->count(); !
|
|
Sep 11, 2017 at 12:05 | vote | accept | Kyrylo Romantsov | ||
Sep 11, 2017 at 11:53 | review | Low quality posts | |||
Sep 11, 2017 at 11:57 | |||||
Sep 11, 2017 at 11:38 | history | answered | Keyur Shah | CC BY-SA 3.0 |