eGzyl.pl Posted February 19, 2010 Share Posted February 19, 2010 hello i need list subcategory of category and sub sub category of sub category??i have( in category.tpl) : {if $subcategory.id_category == 26} {$subcategory.id_category} {foreach from=$subcategories item=subcategory} {$subcategory.name} {/foreach } {/if} but this give me this same lvl what 26 for examplecatcat--bb id_category=26------cc------cc --bbcatcatand i need list -bbhow can i check,that my category have sub category?? $category.child?? Link to comment Share on other sites More sharing options...
eGzyl.pl Posted February 23, 2010 Author Share Posted February 23, 2010 nobody know how add subcategory in category.tpl?? {foreach from=$subcategories item=subcategory} getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}" title="{$subcategory.name|escape:'htmlall':'UTF-8'}"> {if $subcategory.id_image} getCatImageLink($subcategory.link_rewrite, $subcategory.id_image, 'medium')}" alt="" /> {else} {/if} [b] HERE WHANT HAVE SUBCATEGORY OF IT CATEGORY!![/b] {/foreach} plx help Link to comment Share on other sites More sharing options...
Grafikamania Posted February 25, 2010 Share Posted February 25, 2010 anybody known? Link to comment Share on other sites More sharing options...
SpyrosT Posted February 26, 2010 Share Posted February 26, 2010 Did not really understand what you need.Is it something like this foto?If yes, you don't have to edit any file. It is auto created within the BO. Link to comment Share on other sites More sharing options...
eGzyl.pl Posted February 26, 2010 Author Share Posted February 26, 2010 look men :>somethink like that: Link to comment Share on other sites More sharing options...
SpyrosT Posted February 26, 2010 Share Posted February 26, 2010 OK! I think I understand what you need.Open your home page and via your browser get your page sourceThen go to "Categories" and find the list of your linksit should be something like: CAT TITLE *10 is the whatever your category id is.Copy that code and insert it in the product description.I think it will work. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now