Jump to content

categories manufacturer relationship


OPPIO

Recommended Posts

Hi it's possible retrieve categories from manufacturer

 

i wiil have this result

<li data-tags=" category,category,category ">for this one manufacture</li>

 

 

 

maybe whit this final solution in the tpl

{foreach from=$manufacturer item=manufacturer}

<li data-tags="
{foreach from=$categories item=categories}
{$categories.name|escape:'htmlall':'UTF-8'} ,
{/foreach}
">

<img src="{$img_manu_dir}{$manufacturer.id_manufacturer}-small_default.jpg"/>
</li>
{/foreach}

 

how can do that

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