happinesshome Posted April 23, 2014 Share Posted April 23, 2014 Bonjour tout le monde, voilà tout est dans le titre : quand on crée un pack, sur la fiche produit, le CONTENU DU PACK se trouve tout en bas de la fiche produit, après les ventes croisées, produits dans la meme catégories et autres modules. Ma question est : peut-on le déplacer juste au dessus de la fiche technique pour être plus visible ? j'ai regardé sur le forum mais apparemment personne n'a encore eu cette remarque. pour info je suis en 1.6 avec thème natif. merci de vos éventuelles réponses. Link to comment Share on other sites More sharing options...
happinesshome Posted April 27, 2014 Author Share Posted April 27, 2014 petit up sait-on jamais Link to comment Share on other sites More sharing options...
veetouine Posted April 28, 2014 Share Posted April 28, 2014 Hello A la racine du thème, éditer le fichier product.tpl, rechercher le code suivant : {if isset($packItems) && $packItems|@count > 0} <section id="blockpack"> <h3 class="page-product-heading">{l s='Pack content'}</h3> {include file="$tpl_dir./product-list.tpl" products=$packItems} </section> {/if} Le déplacer où tu veux. Pour ma part, je l'ai mis après la description, c'est à dire juste après ce code : {if $product->description} <!-- More info --> <section class="page-product-box"> <h3 class="page-product-heading">{l s='More info'}</h3>{/if} {if isset($product) && $product->description} <!-- full description --> <div class="rte">{$product->description}</div> </section> <!--end More info --> {/if} Link to comment Share on other sites More sharing options...
happinesshome Posted April 28, 2014 Author Share Posted April 28, 2014 Super merci pour l'astuce ca fonctionne très bien !! 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