Jump to content

display only subcategory of a category in product page


Recommended Posts

Hello,

I have the following problem. For my products I have manufacturer and designer. 
For designer I created a new category Designer and in that I have listed all designers. 

I need now to display in the product page the designer. I managed to show  all the categories for the product. I need help to display only the designer.

 
             <label class="label">Designer:</label>
              {foreach from=Product::getProductCategoriesFull(Tools::getValue('id_product')) item=cat}     
                <li><a href="{$link->getCategoryLink({$cat.id_category})}" title="{$cat.name}">{$cat.name}</a></li>           
              {/foreach}
         

Please help. Maybe there is another solution for this?

designer.jpg

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...