Devilos Posted October 23, 2017 Share Posted October 23, 2017 Bonjour à tous, j'aimerai pouvoir mettre plus de caractères dans les titres des fiches produits j'ai cherché dans product-list.tpl et je ne vois nulle part ou le code tronque le titre ? Quelqu'un a une solution ? Link to comment Share on other sites More sharing options...
Devilos Posted October 23, 2017 Author Share Posted October 23, 2017 (edited) Merci pour ta réponse, je suis sur la version 1.7 et mon product-list ne contient que : {** * 2007-2017 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License 3.0 (AFL-3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/AFL-3.0 * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to [email protected] so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA <contact@prestashop.com> * @copyright 2007-2017 PrestaShop SA * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) * International Registered Trademark & Property of PrestaShop SA *} {extends file=$layout} {block name='content'} <section id="main"> {block name='product_list_header'} <h2 class="h2">{$listing.label}</h2> {/block} <section id="products"> {if $listing.products|count} <div id=""> {block name='product_list_top'} {include file='catalog/_partials/products-top.tpl' listing=$listing} {/block} </div> {block name='product_list_active_filters'} <div id="" class="hidden-sm-down"> {$listing.rendered_active_filters nofilter} </div> {/block} <div id=""> {block name='product_list'} {include file='catalog/_partials/products.tpl' listing=$listing} {/block} </div> <div id="js-product-list-bottom"> {block name='product_list_bottom'} {include file='catalog/_partials/products-bottom.tpl' listing=$listing} {/block} </div> {else} {include file='errors/not-found.tpl'} {/if} </section> </section> {/block} Edited October 23, 2017 by Devilos (see edit history) Link to comment Share on other sites More sharing options...
Devilos Posted October 23, 2017 Author Share Posted October 23, 2017 Pour la 1.7 c'est dans /clickandbuilds/PrestaShop/EquipementShop/themes/classic/templates/catalog/_partials/miniatures/product.tpl ligne 41 Link to comment Share on other sites More sharing options...
mikedu67 Posted October 24, 2017 Share Posted October 24, 2017 (edited) 10 hours ago, Devilos said: Pour la 1.7 c'est dans /clickandbuilds/PrestaShop/EquipementShop/themes/classic/templates/catalog/_partials/miniatures/product.tpl ligne 41 Bonjour, J'ai réussi à changer les valeurs dans product.tpl mais ca n'a rien changé sur mon site. J'ai vidé la cache mais toujours pareil. Impossible d'avoir les titres de mes produits en entier. PS: j'utilise le thème classic Ce n'est pas pratique car du coup tous mes articles ont ce titre;"remplacement écran complet..." Merci d'avance Edited October 24, 2017 by mikedu67 (see edit history) Link to comment Share on other sites More sharing options...
yonisdistrib Posted November 9, 2017 Share Posted November 9, 2017 Salut, as-tu obtenu une réponse, car moi non plus ça ne fonctionne pas ??? Merci Link to comment Share on other sites More sharing options...
Undefined777 Posted November 22, 2017 Share Posted November 22, 2017 Oui, enfaite c'est à la ligne 32 et 40 vous changer la valeur de truncate 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