Jump to content

Featured product list and groups inside product block


Recommended Posts

Hello,
I have product, where product size affect product price. I want to show size dropdowns next to each featured product in index page, in featured products list. How can I do that? How can I reach product groups and attributes in index page?
I want to do the same thing like in products.tpl, but do this in index page:
...


{foreach from=$groups key=id_attribute_group item=group}


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


Thank you all for answers!


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