SmartCase13 Posted January 31, 2017 Share Posted January 31, 2017 Bonjour a tous, Je souhaite masquer le contenu des packs sur mes fiches produits. Je pense que c'est dans le product.tpl mais impossible de trouver où ca peut se trouver à l'intérieur du fichier. Merci d'avance pour l'aide Link to comment Share on other sites More sharing options...
lochot Posted February 3, 2017 Share Posted February 3, 2017 Salut @SmartCase13, Avec ta version de prestashop ça serait plus facile de répondre, mais admettons que tu sois sur une 1.6 avec le theme par défaut, dans product.tpl tu devrait trouver {if isset($packItems) && $packItems|@count > 0} <section id="blockpack" style="padding:0 10px 0 10px; margin-top:20px;"> <h3 class="page-product-heading">{l s='Pack content'}</h3> <div class="col-xs-12"> {include file="$tpl_dir./product-list.tpl" products=$packItems} </div> </section> {/if} que tu peux par exemple commenter pour le faire disparaitre : {*if isset($packItems) && $packItems|@count > 0} <section id="blockpack" style="padding:0 10px 0 10px; margin-top:20px;"> <h3 class="page-product-heading">{l s='Pack content'}</h3> <div class="col-xs-12"> {include file="$tpl_dir./product-list.tpl" products=$packItems} </div> </section> {/if*} 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