Hey there i have a site called www.loveisarose.com i have one category with several subcategories that also have several subcategories and i want the sub category navigation templates to be different for these pages than the rest of my site. how can i do this? here is my code for the CTGY page currently:
and the current sub category listing code:
I do not want this to change for the whole site just the categories and their sub categories and their sub categories. this is the link to the categories and sub cats im referring to. right now the first level sub cats there is only one but there will be more. http://www.loveisarose.com/online-fl...y-service.html .thank you
Code:
<mvt:item name="html_profile" /> <mvt:if expr="g.mobile EQ 'TRUE'"> <mvt:item name="mobile_content" /> <mvt:else> <head> <mvt:if expr="NOT ISNULL l.settings:category_title:image"> <title>&mvte:category_title:image;</title> <mvt:else> <title>&mvt:category:name; - &mvt:store:name;.com</title> </mvt:if> <base href="&mvt:global:basehref;"> <mvt:item name="prodctgy_meta" param="ctgy" /> <mvt:item name="head" param="head_tag" /> </head> <mvt:item name="body"> <mvt:item name="hdft" param="global_header" /> <div id="wrap"> <table cellpadding="0" cellspacing="0" width="100%"> <tr><td align="left" valign="top"> <table cellpadding="0" cellspacing="0" width="100%"> <tr><td align="left" valign="bottom" colspan=2 > <mvt:item name="navbar" /> </td></tr> <tr><td align="left" valign="bottom"> <mvt:item name="hdft" param="header" /> </td></tr> <tr><td id="border-right" align="left" valign="top"> <table width="225" cellpadding="0" cellspacing="0"> <tr><td align="left" valign="top"> <mvt:item name="affiliatelink" /> <mvt:item name="category_tree" /> </td></tr> </table> </td><td id="border-left" align="left" valign="top" width="100%"> <br> <blockquote> <mvt:item name="toolkit" param="breadcrumb|b_count|g.Category_Code" /> <mvt:if expr="b_count GT 0"> <a href="http://www.loveisarose.com/" title="Home">Home</a> > <mvt:foreach iterator="breadcrumb" array="breadcrumbs"> <mvt:if expr="g.Category_Code EQ l.settings:breadcrumb:code"> <b>&mvt:breadcrumb:name;</b> <mvt:else> <a href="/&mvte:breadcrumb:code;.html" title="&mvt:breadcrumb:name;">&mvt:breadcrumb:name;</a> > </mvt:if> </mvt:foreach> </mvt:if><br> <h1>&mvte:category:name;</h1> <mvt:item name="prod_ctgy_hdft" param="ctgy_header" /><br> <br> <mvt:item name="toolkit" param="subcat|ccount|g.Category_Code" /> <mvt:if expr="ccount GT 0"> <mvt:item name="subcategory_listing" /> </mvt:if> <mvt:item name="toolkit" param="cxp|pcount|l.all_settings:category:id" /> <mvt:if expr="pcount GT 0"> <mvt:item name="product_list" /> </mvt:if> <mvt:item name="prod_ctgy_hdft" param="ctgy_footer" /><br> <br> <mvt:item name="toolkit" param="breadcrumb|b_count|g.Category_Code" /> <mvt:if expr="b_count GT 0"> <a href="http://www.loveisarose.com/" title="Home">Home</a> > <mvt:foreach iterator="breadcrumb" array="breadcrumbs"> <mvt:if expr="g.Category_Code EQ l.settings:breadcrumb:code"> <b>&mvt:breadcrumb:name;</b> <mvt:else> <a href="/&mvte:breadcrumb:code;.html" title="&mvt:breadcrumb:name;">&mvt:breadcrumb:name;</a> > </mvt:if> </mvt:foreach> </mvt:if><br> <br> </blockquote> </td></tr> <tr><td align="left" valign="bottom"> <mvt:item name="hdft" param="footer" /> </td></tr> </table> </td></tr> </table> </div> <mvt:item name="hdft" param="global_footer" /> </mvt:item> </mvt:if> </html>
Code:
<div class="subcat-header">Subcategories</div> <div id="subcategory-listing"> <mvt:foreach iterator="sub_category" array="sub_categories"> <mvt:item name="toolkit" param="cattreeimage|subcatImage|l.all_settings:sub_category:code" /> <mvt:if expr="(pos1 MOD 4) EQ 1"> <div class="subcategory-wrapper first"> <mvt:else> <div class="subcategory-wrapper"> </mvt:if> <a href="/&mvta:sub_category:code;.html" title="&mvte:sub_category:name;" class="button"> <mvt:if expr="subcatImage"> <img src="&mvte:global:subcatImage;" alt="&mvte:sub_category:name;" title="&mvte:sub_category:name;" height="150" width="150" /> </mvt:if><br> Browse More Now</a> <span class="menu2">&mvte:sub_category:name;</span> </div> </mvt:foreach> </div> <mvt:if expr="l.settings:product_count GT 0"> <div class="subcat-header">Products</div> <mvt:else> <div></div> </mvt:if>
Comment