D.Mahe Posted April 18, 2018 Share Posted April 18, 2018 Hello all, I need help to change something in the product list. I have several attributes displayed just below the picture of the product when i hover on a product (Size, color, Composition). But i only want to show the Size (screenshot below) How can i get rid of the other attributes without deleting them in the back office ? EDIT : In product-list.tpl i have this : <div class="button-container"> {* Added for attributes *} {if $product.combinations} <div class="att_list" style="display:block;"> <fieldset> <ul> {foreach from=$product.combinations.values key=id_product_attribute item=combination} {if $combination.unit_impact} <li>{$combination.attributes_names|escape:'html':'UTF-8'}</li> {else} <li class="strikethrough">{$combination.attributes_names|escape:'html':'UTF-8'}</li> {/if} {/foreach} </ul> </div> I guess i have to change the combination.attributes_names to show only the one attribute I want but i dont' know how. Thanks for any help, Link to comment Share on other sites More sharing options...
D.Mahe Posted April 19, 2018 Author Share Posted April 19, 2018 anyone ? 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