Prog Ordiexpress Posted June 2, 2020 Share Posted June 2, 2020 I have tried to change every hardcoded piece of code where UPC length was = 12. In DB length is now 50 In every instance of all the files i could find string $upc ive put length to 50 varchar I cant seem to make it work ! Help? Link to comment Share on other sites More sharing options...
tomerg3 Posted June 2, 2020 Share Posted June 2, 2020 Can you specify your PS versions, and all the files / lines you changed? Link to comment Share on other sites More sharing options...
Prog Ordiexpress Posted June 2, 2020 Author Share Posted June 2, 2020 (edited) Im using version 1.7.6.5 Ive changed all instances in the database where UPC exist from 12 to 50 nvarchar Ive changed "AdminImportController.php" default value ive changed "Combination.php" upc 50 ive changed "store.php" upc 50 ive changed "validate.php" upc = 50 I tried every post in the forum involving this issue and i cant do it. Edited June 2, 2020 by Prog Ordiexpress (see edit history) Link to comment Share on other sites More sharing options...
tomerg3 Posted June 3, 2020 Share Posted June 3, 2020 Did you change the definition in product.php class? Link to comment Share on other sites More sharing options...
Prog Ordiexpress Posted June 4, 2020 Author Share Posted June 4, 2020 (edited) Yes changed it still The length of property Product->upc is currently 13 chars. It must be between 0 and 12 chars. Edited June 4, 2020 by Prog Ordiexpress (see edit history) 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