Post by jmontani » Sun Jan 07, 2018 3:11 am

Change my Invoice # on new Opencart 2.3.0.2 to match my ending Ecomm site Invoice #

OK, I am about to launch my new Opencart eComm site and want to match my ending invoice number from my GoDaddy eComm site. How can I change the start number?

New member

Posts

Joined
Fri Dec 01, 2017 9:02 pm

Post by straightlight » Sun Jan 07, 2018 3:23 am

Any invoice number / string you could provide as an example?

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by jmontani » Sun Jan 07, 2018 5:42 am

That is where I need help. I have been looking through files myphp but have not seem to found the string to edit. Had some references under the 1.5 version OC but did not pan out.

New member

Posts

Joined
Fri Dec 01, 2017 9:02 pm

Post by kestas » Sun Jan 07, 2018 4:08 pm

Make one fake buy from your shop yourself, generate invoice, go to phpmyadmin find order table and edit invoice number to you desired number. I think it should work.

Cheers

Custom OpenCart modules and solutions. You can write PM with additional questions... Extensions you can find here


Active Member

Posts

Joined
Tue Oct 12, 2010 2:23 am

Post by straightlight » Sun Jan 07, 2018 8:24 pm

Take note that using PHPMyAdmin will only take numbers for the invoice_no field by default.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by Reptile » Mon Jan 08, 2018 6:00 am

You can use this extension to change your invoice number and prefix.

Also if you need to start on a certain number then change your last order and the next order will start counting from that number.

https://www.opencart.com/index.php?rout ... n_id=30026

All my extensions: Click here or Click here


User avatar
Active Member

Posts

Joined
Mon Jan 30, 2012 7:23 pm
Location - The Netherlands
Who is online

Users browsing this forum: No registered users and 424 guests