happinesshome Posted February 26, 2018 Share Posted February 26, 2018 Bonjour la communauté, voilà mon souci est simple, le bloc téléchargement sur une fiche produit est situé tout en bas, sous les parties "Accessoires" et "les internautes ont également commandé". j'aimerais le remonter pour qu'il soit entre les blocs "fiche techniques" et "avis". Quelqu'un pour m'aider ? Merci. Link to comment Share on other sites More sharing options...
Eolia Posted February 26, 2018 Share Posted February 26, 2018 Remontez le bloc correspondant dans le product.tpl de votre thème. Link to comment Share on other sites More sharing options...
happinesshome Posted February 28, 2018 Author Share Posted February 28, 2018 Bonjour Eolia et merci pour votre post, j'ai été dans le fichier que vous mentionnez, par contre je n'arrrive pas à trouver le terme ni même les autres :/ sont-ils indiqués en anglais ? ou par un autre code ? merci Link to comment Share on other sites More sharing options...
Eolia Posted February 28, 2018 Share Posted February 28, 2018 Dans le product.tpl du thème par defaut: {if isset($attachments) && $attachments} <!--Download --> <section class="page-product-box"> <h3 class="page-product-heading">{l s='Download'}</h3> {foreach from=$attachments item=attachment name=attachements} {if $smarty.foreach.attachements.iteration %3 == 1}<div class="row">{/if} <div class="col-lg-4"> <h4><a href="{$link->getPageLink('attachment', true, NULL, "id_attachment={$attachment.id_attachment}")|escape:'html':'UTF-8'}">{$attachment.name|escape:'html':'UTF-8'}</a></h4> <p class="text-muted">{$attachment.description|escape:'html':'UTF-8'}</p> <a class="btn btn-default btn-block" href="{$link->getPageLink('attachment', true, NULL, "id_attachment={$attachment.id_attachment}")|escape:'html':'UTF-8'}"> <i class="icon-download"></i> {l s="Download"} ({Tools::formatBytes($attachment.file_size, 2)}) </a> <hr /> </div> {if $smarty.foreach.attachements.iteration %3 == 0 || $smarty.foreach.attachements.last}</div>{/if} {/foreach} </section> <!--end Download --> {/if} Link to comment Share on other sites More sharing options...
happinesshome Posted March 1, 2018 Author Share Posted March 1, 2018 J'ai testé et cela a fonctionné un grand merci ! Link to comment Share on other sites More sharing options...
Eolia Posted March 1, 2018 Share Posted March 1, 2018 Généralement mes solutions fonctionnent 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