bloggus Posted December 27, 2023 Share Posted December 27, 2023 Anyone has done that change? Since it was easy to save longer meta title and meta descriptions in the old product page, it creates a problem when suddenly using the New Product Page, that prohibit to save the product is meta title or/and meta description is longer than 70/160 characters. Link to comment Share on other sites More sharing options...
TiaNex Shopping Posted December 28, 2023 Share Posted December 28, 2023 you'd better not to change this Link to comment Share on other sites More sharing options...
bloggus Posted December 28, 2023 Author Share Posted December 28, 2023 5 hours ago, TiaNex Shopping said: you'd better not to change this Thank you for the opinion, but it is already changed basically, since this is possible in the old product page. Link to comment Share on other sites More sharing options...
akwa Posted February 11 Share Posted February 11 On 12/28/2023 at 7:59 AM, bloggus said: Thank you for the opinion, but it is already changed basically, since this is possible in the old product page. Can you tell me how you increased the limit? Link to comment Share on other sites More sharing options...
pette Posted February 15 Share Posted February 15 On 2/11/2024 at 10:14 PM, akwa said: Can you tell me how you increased the limit? Hi, did you find how change the limit e preserve update? thanks Link to comment Share on other sites More sharing options...
bloggus Posted February 15 Author Share Posted February 15 No, use the old product page. Link to comment Share on other sites More sharing options...
pette Posted February 15 Share Posted February 15 (edited) I found you can change here the parameters but I think every update it will overwrite src/Core/Domain/Product/ProductSettings.php public const MAX_NAME_LENGTH = 128; public const MAX_MPN_LENGTH = 40; public const MAX_META_TITLE_LENGTH = 160; public const MAX_META_DESCRIPTION_LENGTH = 350; Edited February 15 by pette (see edit history) Link to comment Share on other sites More sharing options...
bloggus Posted February 15 Author Share Posted February 15 No tips have been given here either: New Product Page vs. Old product page; maxchar for meta title and description · Issue #34925 · PrestaShop/PrestaShop · GitHub https://github.com/PrestaShop/PrestaShop/issues/34925 Link to comment Share on other sites More sharing options...
bloggus Posted February 15 Author Share Posted February 15 3 minutes ago, pette said: I found you can change here the parameters but I think every update it will overwrite src/Core/Domain/Product/ProductSettings.php Still, it is just great! Thanks. Link to comment Share on other sites More sharing options...
pette Posted February 15 Share Posted February 15 But how we can override this to prevent future updates? 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