Re: Is there a way to count # of subcategories of category id?
For example I click on category A and I get 4 categories as below.
Category A
subcat 1
subcat 2
subcat 3
subcat 4
Now i just want the total subcat 1-4. So the subcat total = 4.
I need that value displayed on my page somehow and i've looked everywhere for it. The { $subcat.subcategory_count } will only total what's below the subcategories (ie. subcat1 = 0, subcat2 =0, etc). I want the total count of the subcat results.
__________________
Xcart 4.0.19
|