ShukrieySaid Posted October 6, 2016 Share Posted October 6, 2016 (edited) Hello Guy, I need help for solve my problem..I want to add lenght of my product name in bo..Because my Product Name is too long...i dont know how to find the thing. Please Help.. Im Using Prestashop 1 . 6 .1 .7 i attached here Edited October 6, 2016 by ShukrieySaid (see edit history) Link to comment Share on other sites More sharing options...
Daniel Patilea Posted October 6, 2016 Share Posted October 6, 2016 Hello Guy, I need help for solve my problem..I want to add lenght of my product name in bo..Because my Product Name is too long...i dont know how to find the thing. Please Help.. Im Using Prestashop 1 . 6 .1 .7 i attached here Edit this file: /classes/Product.php and around line @330 you will find this line of code: 'name' => array('type' => self::TYPE_STRING, 'lang' => true, 'validate' => 'isCatalogName', 'required' => true, 'size' => 128), Change the size of the field from 128 to the value that you need 1 Link to comment Share on other sites More sharing options...
Daniel Patilea Posted October 6, 2016 Share Posted October 6, 2016 (edited) And for secure/best practice I advise you to use overrides to make this change Edited October 6, 2016 by Daniel Patilea (see edit history) Link to comment Share on other sites More sharing options...
ShukrieySaid Posted October 6, 2016 Author Share Posted October 6, 2016 Thanks both of u.. Im so appreciate Its work very fine.. 1 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