ptityop Posted December 31, 2016 Share Posted December 31, 2016 Hi, Is there a way to converte invoice reference ID from letters to number ? Many thanks Link to comment Share on other sites More sharing options...
NemoPS Posted December 31, 2016 Share Posted December 31, 2016 Actually alphanumeric is both letters and numbers Anyway edit this method of the Order class public static function generateReference() { return strtoupper(Tools::passwdGen(9, 'NO_NUMERIC')); } Change NO_NUMERIC to NUMERIC Link to comment Share on other sites More sharing options...
ptityop Posted December 31, 2016 Author Share Posted December 31, 2016 :-) Thank you very much! Link to comment Share on other sites More sharing options...
ptityop Posted August 24, 2022 Author Share Posted August 24, 2022 Is this still valid today with the latest presta version ? 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