wagac2012 Posted November 19, 2012 Share Posted November 19, 2012 (edited) Hi there, I am ready to go public with the shop however not sure how to erase former TEST users and orders found som'n in this thread: http://www.prestasho...__fromsearch__1 though there is no instruction how reset the invoice number can anybody help reviewing the whole process? Edited November 19, 2012 by wagac2012 (see edit history) Link to comment Share on other sites More sharing options...
prestaslo Posted March 22, 2014 Share Posted March 22, 2014 Same problem... I'm using 1.5.6.2 Link to comment Share on other sites More sharing options...
vekia Posted March 23, 2014 Share Posted March 23, 2014 hello have you tried to use PS Cleaner addon? it's a default prestashop module Link to comment Share on other sites More sharing options...
prestaslo Posted March 23, 2014 Share Posted March 23, 2014 Yes, but I made some test invoices myself... Link to comment Share on other sites More sharing options...
inweb Posted March 23, 2014 Share Posted March 23, 2014 You have to delete records in ps_orders table and all associated records in ps_order_carrier, ps_order_cart_rule, ps_order_detail, ps_order_detail_tax, ps_order_history, ps_order_invoice, ps_order_invoice_payment, ps_order_invoice_tax, ps_order_return, ps_order_return_detail, ps_order_slip and ps_order_slip_detail tables (make a database backup before taking any action). Link to comment Share on other sites More sharing options...
El Patron Posted March 23, 2014 Share Posted March 23, 2014 for me, and I recommend...simply cancel test orders....this way you do not take chance of corrupting your db with a cleaner solution. Link to comment Share on other sites More sharing options...
prestaslo Posted March 23, 2014 Share Posted March 23, 2014 for me, and I recommend...simply cancel test orders....this way you do not take chance of corrupting your db with a cleaner solution. Yes I know, but I create some test orders and I would like to reset invoice number... Link to comment Share on other sites More sharing options...
inweb Posted March 23, 2014 Share Posted March 23, 2014 To reset invoice numbering change PS_INVOICE_NUMBER in ps_configuration table. Link to comment Share on other sites More sharing options...
prestaslo Posted March 24, 2014 Share Posted March 24, 2014 You have to delete records in ps_orders table and all associated records in ps_order_carrier, ps_order_cart_rule, ps_order_detail, ps_order_detail_tax, ps_order_history, ps_order_invoice, ps_order_invoice_payment, ps_order_invoice_tax, ps_order_return, ps_order_return_detail, ps_order_slip and ps_order_slip_detail tables (make a database backup before taking any action). Thanks, I solve problem Link to comment Share on other sites More sharing options...
klemen130 Posted July 16, 2014 Share Posted July 16, 2014 That doesn't solve same problem in my case. At next order is new invice number, but then at further orders it goes back to old invice numbers. Any idea to resolve? 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