raph68 Posted January 30, 2021 Share Posted January 30, 2021 bonjour, je souhaite masquer une caractéristique de la fiche produit pour éviter de faire doublon avec le tire le fichier a modifier est product-detail tpl je suis ps 1.7.7.1 cela doit se passer a ce niveau {block name='product_features'} {if $product.grouped_features} <section class="product-features"> <p class="h6">{l s='Data sheet' d='Shop.Theme.Catalog'}</p> <dl class="data-sheet"> {foreach from=$product.grouped_features item=feature} <dt class="name">{$feature.name}</dt> <dd class="value">{$feature.value|escape:'htmlall'|nl2br nofilter}</dd> {/foreach} </dl> </section> {/if} {/block} merci pour votre aide Link to comment Share on other sites More sharing options...
Eolia Posted January 30, 2021 Share Posted January 30, 2021 {foreach from=$product.grouped_features item=feature} {if $feature.id_feature != 'ID de la caractéristique à éviter'} <dt class="name">{$feature.name}</dt> <dd class="value">{$feature.value|escape:'htmlall'|nl2br nofilter}</dd> {/if} {/foreach} Link to comment Share on other sites More sharing options...
raph68 Posted January 30, 2021 Author Share Posted January 30, 2021 merci je viens de realiser la meme chose avec le nom de la caracteristique Link to comment Share on other sites More sharing options...
Eolia Posted January 30, 2021 Share Posted January 30, 2021 le nom peut changer... 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