lokifer Posted July 10 Share Posted July 10 Hi Please can anyone help with this, i need to incresse the product description max character limit from 21844 , to duble or so. I trid this tutorial from prestapros blog, but with no sucess, it is for PRESTASHOP 1.7, and it only worked for the CMS pages, not the product description ( https://prestapros.com/en/blog/prestashop-17-character-limits ) I think Prestashop 8 checks total numer of characters (including html code) while older releases checks characters of pure text only. and this is way i need to increese max character limit from 21844, i'm inporting from an older version and now i need more space. Can anyone point me on how to do this caracter increesse ?, i used to have a module from Mypresta ( https://mypresta.eu/modules/administration-tools/increase-characters-limit-in-product-description.html#TabChangelog), ut it is not working and I cannot purchase a new version, because the website does not respond when adding to cart, and so I am unable to buy it. Also, I tried to contact Vekia (forum moderator and owner of mypresta.eu), but with no success, so far, it has been a month or so since I first tried to contact them.So please, is there anyone with the knowledge to give a few pointers on how to do this or a similar module? Thanks Best regards Link to comment Share on other sites More sharing options...
Prestashop Addict Posted July 10 Share Posted July 10 The physical limit in database is 65,535 characters as defined in TEXT. One solution is to configure short description to 50 000, and in your template you display short description in place of description 😉 Link to comment Share on other sites More sharing options...
lokifer Posted July 10 Author Share Posted July 10 Thank for this, i will try to see how can i get this done 😅, seems a bit to tehnical to me. Would you by any chance now of such a module like the ; ( https://mypresta.eu/modules/administration-tools/increase-characters-limit-in-product-description.html#TabChangelog), That is available for purchase and can do this by itself ? Anyway thanks a lot . 👍 Link to comment Share on other sites More sharing options...
Prestashop Addict Posted July 10 Share Posted July 10 il y a 12 minutes, lokifer a dit : Would you by any chance now of such a module like the ; ( https://mypresta.eu/modules/administration-tools/increase-characters-limit-in-product-description.html#TabChangelog), I can't give you information about this module I don't know. But if you have a webmaster the change in templates is very easy Link to comment Share on other sites More sharing options...
Enumbin Posted July 11 Share Posted July 11 Hello You need to edit the core files of PS and the database. Let me explain below. Go to the file "/src/Core/Domain/Product/ProductSettings.php" and find the constant MAX_DESCRIPTION_LENGTH and increase it. Then go to your database and find the product_lang table. and set the description column to LONGTEXT. That will do. Another solution is to get modules like infofield, advanced custom field etc. that let you add advanced custom fields to your product page and then add more description and info with that module. Regards TheEnumbin Link to comment Share on other sites More sharing options...
lokifer Posted July 12 Author Share Posted July 12 Uau !!, thanks a lot , i will try this. I can't thank you enough. 👍 will post feedback after i implemmente. Thanks again to both Link to comment Share on other sites More sharing options...
TMOtech Posted September 17 Share Posted September 17 Hello, thanks to this post i was able to increase description characters limit. I changed also MAX_DESCRIPTION_SHORT_LENGTH = 800 to 1600. Thinking that it was able to change Summary limit length to 1600 characters. But the Summary lenght didn't changed. Someone got solution how to increase Summary length of product? Link to comment Share on other sites More sharing options...
Enumbin Posted September 17 Share Posted September 17 Hello @TMOtech For summary length you need to change in the database settings because it is configurable. See the attached screenshot. Search on the database in the configuration table with PS_PRODUCT_SHORT_DESC_LIMIT and you will find it. Screenshot of the database T To add these kinds of extra content you can use this module also. https://addons.prestashop.com/en/registration-ordering-process/94239-infofields-create-advanced-custom-fields-product-tabs.html Thanks Link to comment Share on other sites More sharing options...
TMOtech Posted September 18 Share Posted September 18 Hello, thanks for your help, will give a try. 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