Situation:
Category Structure:
Root-Category-One (8170)
....Sub-Category-One (50 links)
....Sub-Category-Two (7500 links)
....Sub-Category-Three (600 links)
....Sub-Category-Four (20 links)
Category-Two (507)
....Sub-Category-One (5 links)
....Sub-Category-Two (2 links)
....Sub-Category-Three (500 links)
What I am trying to do:
on Category page (category.html) page, I want to only display categories that has 11% or more of total links under their parent category.
-------------------
In subcategory.html I understand that I can use something like
<%if Direct_Links >= '50' %>
however that can't really work for different categories, as trying to display categories only with a minimum of x% links of Parent category.
Is there any if/elseif type condition that could help with this?
Thank you.
Vishal
-------------------------------------------------------
Category Structure:
Root-Category-One (8170)
....Sub-Category-One (50 links)
....Sub-Category-Two (7500 links)
....Sub-Category-Three (600 links)
....Sub-Category-Four (20 links)
Category-Two (507)
....Sub-Category-One (5 links)
....Sub-Category-Two (2 links)
....Sub-Category-Three (500 links)
What I am trying to do:
on Category page (category.html) page, I want to only display categories that has 11% or more of total links under their parent category.
-------------------
In subcategory.html I understand that I can use something like
<%if Direct_Links >= '50' %>
however that can't really work for different categories, as trying to display categories only with a minimum of x% links of Parent category.
Is there any if/elseif type condition that could help with this?
Thank you.
Vishal
-------------------------------------------------------