Announcement

Collapse
No announcement yet.

Display sub-categories of a sub-category?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Display sub-categories of a sub-category?

    Hello,
    I am using the Sebenza SS-CTGYTEMPLATES5 module and I am attempting to make a category template such that it displays a list of the sub-categories and within each subcategory is has a footer-display showing a list of sub-categories of that specific sub-category. Here is an example of what is wished to be achieved:
    http://www.tyrrelltech.com/equipment.php

    Here is the code snip-it I have so far for the loops:
    <mvt:if expr="l.settings:sub_cats">
    <table border="0" cellpadding="10" cellspacing="0">
    <tr>
    <mvt:foreach iterator="subcat" array="sub_cats">
    <div class="equipment">
    <a href="&mvt:global:sessionurl;Screen=CTGY&Store_Cod e=&mvt:global:Store_Code;&Category_Code=&mvt:subca t:code;"><img src="&mvt:subcat:image;" alt="Test" width="250" height="100" class="mainphoto" /></a>
    <p><a href="&mvt:global:sessionurl;Screen=CTGY&Store_Cod e=&mvt:global:Store_Code;&Category_Code=&mvt:subca t:code;">&mvt:subcat:name;</a> </p>
    <p> &mvt:subcat:header; <br /></p>
    </div>
    <!-- **********************************************
    Here I want to put an integrated loop to display the sub-categories of the current category the above loop is displaying
    ****************************************** *****-->
    </mvt:foreach>

    </tr>
    </table>


    So far It displays the sub-categories of the parent category just fine. What would be the easiest way to display the sub-categories of the sub-categories of the parent category? :-) I know it sounds confusing. If possible, I want to avoid using more modules/toolkits.
    Thanks!
    - [email protected]
Working...
X