ipcomp1 Posted October 2, 2012 Share Posted October 2, 2012 Hello how to make short description permenent message for all new products that i creat ? Thanks Link to comment Share on other sites More sharing options...
Valérie Assetskaya Posted October 2, 2012 Share Posted October 2, 2012 Hello ipcomp, Please, use: admin/tabs/AdminProducts.php -> <textarea class="rte" cols="100" rows="10" id="description_short_'.$language['id_lang'].'" name="description_short_'.$language['id_lang'].'">'.(!empty($obj->description_short) ? htmlentities(stripslashes($this->getFieldValue($obj, 'description_short', $language['id_lang'])), ENT_COMPAT, 'UTF-8') : 'Some text').'</textarea> instead of <textarea class="rte" cols="100" rows="10" id="description_short_'.$language['id_lang'].'" name="description_short_'.$language['id_lang'].'">'. htmlentities(stripslashes($this->getFieldValue($obj, 'description_short', $language['id_lang'])), ENT_COMPAT, 'UTF-8').'</textarea> Best regards, Valerie Link to comment Share on other sites More sharing options...
ipcomp1 Posted October 2, 2012 Author Share Posted October 2, 2012 (edited) Hello Valerie Thank for your answer , but where i insert the text and pciture that i want to show in all products in the short description when i create new product ? for example this : למה לקוחות קונים אצלנו: קניה מאובטחת שירות לקוחות מעולה Edited October 2, 2012 by ipcomp1 (see edit history) Link to comment Share on other sites More sharing options...
ipcomp1 Posted October 3, 2012 Author Share Posted October 3, 2012 can someone help with idea please ??? Link to comment Share on other sites More sharing options...
Valérie Assetskaya Posted October 3, 2012 Share Posted October 3, 2012 Hello ipcomp1, Well you can insert your code instead of Some Text, but we would recommend add this part to the template, though in this case the picture and the text are not only for new products, but for all store items. Best regards, Valerie Link to comment Share on other sites More sharing options...
ipcomp1 Posted October 3, 2012 Author Share Posted October 3, 2012 and how can i insert the code ? Link to comment Share on other sites More sharing options...
Valérie Assetskaya Posted October 3, 2012 Share Posted October 3, 2012 Hi, If you use PrestaShop 1.4 you can not use override You need just to open the file and replace. Best regards, Valerie Link to comment Share on other sites More sharing options...
ipcomp1 Posted October 3, 2012 Author Share Posted October 3, 2012 can you give me a sample how to do it ? so i can understnad ? Link to comment Share on other sites More sharing options...
Valérie Assetskaya Posted October 4, 2012 Share Posted October 4, 2012 (edited) Hi, Please, change the code in line 2883 Best regards Edited October 4, 2012 by valerie_BelVG (see edit history) Link to comment Share on other sites More sharing options...
ipcomp1 Posted October 9, 2012 Author Share Posted October 9, 2012 what command i can insert to display a picture ? Link to comment Share on other sites More sharing options...
Valérie Assetskaya Posted October 9, 2012 Share Posted October 9, 2012 Hi, Insert '<img src="image_location" />' instead of 'Some text' Best regards Link to comment Share on other sites More sharing options...
Recommended Posts