philiber30 Posted April 11, 2012 Share Posted April 11, 2012 Bonjour à tous, Je voudrais pouvoir mettre du texte important dans le résumé qui apparaît dans les listes de produits et sur le haut de la page du produit. Mais je suis bloqué par le champ description_short (Français (French)) qui est trop long : 400 caractères maximum (j'en compte 1107 dans mon texte) Ou puis-je trouver le code à changer?? Bien à tous, Phil Link to comment Share on other sites More sharing options...
IchabOd Posted April 11, 2012 Share Posted April 11, 2012 dans prestashop/admin/tabs/AdminProducts.php, entre les lignes 1136 et 1138, il y a ce code : /* Check description short size without html */ $limit = (int)Configuration::get('PS_PRODUCT_SHORT_DESC_LIMIT'); if ($limit <= 0) $limit = 400; Cela suggère : 1- qu'il y a un paramétrage dans le back-office pour cela 2- que ce paramétrage, s'il est à 0, est mis par défaut à 400... Donc tu dois chercher dans le B.O. Link to comment Share on other sites More sharing options...
philiber30 Posted April 11, 2012 Author Share Posted April 11, 2012 Bonjour IchabOd, Merci pour ta réponse, pourquoi faire simple alors qu'on peut compliquer ......... J'avais complètement zappé le réglage, j'étais parti dans la classe product.php Merci d'avoir réveillé mes neurones Cordialement PHILIPPE Link to comment Share on other sites More sharing options...
chtiadsl Posted May 13, 2012 Share Posted May 13, 2012 Bonjour, J'ai le meme proble mais je ne trouve pas dans le BO ou il faut modifier... merci pour votre aide Chtiadsl 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