limit category

it is possible to limit the number of subcategories ?

for example, I have something like this:


  • category

    -subcategory(1)

    - subcategory(11)

    - subcategory(111)

    - subcategory(1111)

    - subcategory(1111)

    all I want is to limit to the 3rd subcategory.

    thanks



    I found an anwer but is a half that I need… with this option the menu can display only first category and 1 subcategory and I need 1 subcategory more. If i change 0 in 1 all subcat disapear

    {if $category.subcategories && $category.level == “0”}

nobody ??? :frowning: