Jump to content

Product attribute in product-list.tpl (in category page)


Recommended Posts

Hello,
I use prestashop 1.37
I want to implement the attribute from product page in product-list.tpl page (in category mode)
How to implement same functions from product.tpl in product-list.tpl.
For example this code from product.tpl:

{if isset($groups)}
                   <!-- attributes -->

           {foreach from=$groups key=id_attribute_group item=group}
           {if $group.attributes|@count}


{$group.name|escape:'htmlall':'UTF-8'} :
               {assign var='groupName' value='group_'|cat:$id_attribute_group}
0}$('#wrapResetImages').show('slow');{/if}">
                   {foreach from=$group.attributes key=id_attribute item=group_attribute}
{$group_attribute|escape:'htmlall':'UTF-8'}
                   {/foreach}


           {/if}
           {/foreach}

           {/if}


Thanks!

Link to comment
Share on other sites

  • 2 weeks later...

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