I had a main category (parent category) whose id = 10. I want to echo just its sub-categories. How can I do that?
相关问题
- Magento 1.7.0.2 Index Management overwriting URL R
- Magento: Best way to avoid extension conflicts
- Magento Fatal error: Maximum execution error solut
- jquery/prototype conflicts in Magento
- 404 error when switching between stores when in a
相关文章
- Magento, translate validation error messages
- Magento API order id vs. increment id
- Unique constraint violation on Magento 1.4.0 to 1.
- Editing Magento sales e-mail payment block
- Adding tags to products in Magento
- Magento Collection GroupBy getSize
- Magento upfront payment
- compare only those product who have same category
If you want 2 level , 3 Level, 4 Level or n Level subcategories of parent category than Click Here
This code may help if you want to get child category of every current category
This is my solution
and the output is;
To get all the
active
as well asinactive
sub categoriesAnother way: