jxdyzwh Posted September 23, 2013 Share Posted September 23, 2013 hi,i want go change "order reference" create rule Link to comment Share on other sites More sharing options...
NemoPS Posted September 23, 2013 Share Posted September 23, 2013 You have to edit this method of the Order class: public static function generateReference() { return strtoupper(Tools::passwdGen(9, 'NO_NUMERIC')); } Or, the passwdGen one, but be aware that other scripts use that! Link to comment Share on other sites More sharing options...
jxdyzwh Posted September 23, 2013 Author Share Posted September 23, 2013 i see,thank you very much Link to comment Share on other sites More sharing options...
ilovekutchi.com Posted February 1, 2014 Share Posted February 1, 2014 does order reference still work fine if I change it to 4 characters only? I mean: public static function generateReference() { return strtoupper(Tools::passwdGen(4, 'NO_NUMERIC')); } Does the function avoids reference duplication? Thanks Link to comment Share on other sites More sharing options...
Recommended Posts