nzrobert Posted October 18, 2010 Share Posted October 18, 2010 Hi there,I would like to change the number of characters allowed in the reference field from 32 characters to 256 characters.I have changed the database field from varchar(32) to varchar(256), but what else do i need to change.How do i change the error in the backoffice that comes up when i enter more than 32 characters?CheersRobert Link to comment Share on other sites More sharing options...
rocky Posted October 18, 2010 Share Posted October 18, 2010 You must change line 157 of classes/Product.php from: protected $fieldsSize = array('reference' => 32, 'supplier_reference' => 32, 'location' => 64, 'ean13' => 13); to: protected $fieldsSize = array('reference' => 256, 'supplier_reference' => 32, 'location' => 64, 'ean13' => 13); Link to comment Share on other sites More sharing options...
nartov Posted August 1, 2011 Share Posted August 1, 2011 You must change line 157 of classes/Product.php from:<br/><br/> <br/>protected $fieldsSize = array('reference' => 32, 'supplier_reference' => 32, 'location' => 64, 'ean13' => 13);<br/> <br/><br/>to:<br/><br/> <br/>protected $fieldsSize = array('reference' => 256, 'supplier_reference' => 32, 'location' => 64, 'ean13' => 13);<br/> Thanks . It worked perfectly...THANKS a lot, guys. With this im doing the google category thing. Google category is recomended by google for feed , so im using the field location for google category according to Taxonomy http://www.google.com/support/merchants/bin/answer.py?answer=160081 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