Ziaur Rahman Posted August 24, 2016 Share Posted August 24, 2016 I am using Prestashop Cloud version. I need to change State field character limit 32 to 64. Can anyone tell me which file should I edit? Link to comment Share on other sites More sharing options...
0 Ziaur Rahman Posted August 24, 2016 Author Share Posted August 24, 2016 Nobody here!!! Link to comment Share on other sites More sharing options...
0 Knowband Plugins Posted September 22, 2016 Share Posted September 22, 2016 Open /classes/State.php file Search for 'name' => array('type' => self::TYPE_STRING, 'validate' => 'isGenericName', 'required' => true, 'size' => 32) Replace 32 with 64 or any other number in order to change the size limit. Please note that you can not accept values greater than 64 characters as the field only allows a maximum of 64 characters in the database. Link to comment Share on other sites More sharing options...
0 Ziaur Rahman Posted September 22, 2016 Author Share Posted September 22, 2016 Open /classes/State.php file Search for 'name' => array('type' => self::TYPE_STRING, 'validate' => 'isGenericName', 'required' => true, 'size' => 32) Replace 32 with 64 or any other number in order to change the size limit. Please note that you can not accept values greater than 64 characters as the field only allows a maximum of 64 characters in the database. Thanks for your kind reply. Actually I posted this topic on Prestashop Cloud section. I am using Prestashop Cloud version. By following your advice, first I copied State.php file from Prestashop 1.6 zip and changed 32 to 64, then I uploaded this file into /override/classes/ folder. But result is no change. Sorry for my bad English Link to comment Share on other sites More sharing options...
0 Tung at RockPOS.com Posted September 29, 2016 Share Posted September 29, 2016 Did you delete /cache/class_index.php? Sorry, I don't have a cloud setup here, but it seems, you can't not remove that file. If that's a problem, open a new thread discussing about that. Link to comment Share on other sites More sharing options...
Question
Ziaur Rahman
I am using Prestashop Cloud version. I need to change State field character limit 32 to 64. Can anyone tell me which file should I edit?
Link to comment
Share on other sites
4 answers to this question
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