cocodeluxe Posted June 10, 2014 Share Posted June 10, 2014 I need to show a text on product-list products with certain combinations of attributes. I need something like this with the appropriate statement { if $id_attribute_group = 1} More sizes availables {/if} I have been trying with this tutorial for the features but either have known it to work with combinations http://nemops.com/features-to-product-list-prestashop-16/#.U5aKjn8aySM Link to comment Share on other sites More sharing options...
cocodeluxe Posted June 10, 2014 Author Share Posted June 10, 2014 I have a try with $attr.group_name $product_attribute and nothing either Link to comment Share on other sites More sharing options...
cocodeluxe Posted June 12, 2014 Author Share Posted June 12, 2014 I try in {debug} mode in combinations.tpl to access variables this way {foreach $combinations as $k=>$v} {if $v.group_name == 'Size'} <span class="item-tag-delivery">more sizes</span> {/if} {/foreach} works well but leaves repeated as many times as has the product combinations How I can do to appear its only once. Without foreach nothing appears Thanks 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now