Jump to content

Subcategories Menu Inside A Subcategory?


juanmlg

Recommended Posts

  • 1 month later...

I think I need to modify this code to work inside a subcategory, because now only works inside a category.

 

{foreach from=$subcategories item=subcategory}
   <li >
 <a href="{$link->getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}" class="cat_name">{$subcategory.name|escape:'htmlall':'UTF-8'}</a>

   </li>
  {/foreach}

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...