Lkaiwail Posted October 16, 2010 Share Posted October 16, 2010 Hello, the default order number I have is 6 digits e.g. #000005 and starting from #000000.I would like to know if it is possible to make it a longer number like having 9 digits? And make it start at like #030100000? Same question for the Invoice # and the Delivery#. Thank you very much!!! Link to comment Share on other sites More sharing options...
rocky Posted October 16, 2010 Share Posted October 16, 2010 You will need to search for all instances of %06d in classes/PDF.php and change it to %09d Link to comment Share on other sites More sharing options...
Lkaiwail Posted October 17, 2010 Author Share Posted October 17, 2010 Thank you so much Rocky! I have followed your instructions and turned the Invoice no. and order no. in the pdf generated to 9 digits. Is it also possible to change the order no. in My Account -> My Order History to 9 digits?And how can I change the starting no. of the order no.?Thank you very much! Link to comment Share on other sites More sharing options...
rocky Posted October 17, 2010 Share Posted October 17, 2010 You can change the next order number on the Orders > Invoice tab.You will need to make the same change to order-detail.tpl to display the numbers there with 9 digits instead of 6. Link to comment Share on other sites More sharing options...
Lkaiwail Posted October 18, 2010 Author Share Posted October 18, 2010 Thank you Rocky! It works very well!! I have also changed the order number to the same as invoice number for convenience to record. 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