Notice: Only variables should be assigned by reference in /var/www/clients/client4/web20/web/templates/shape5_vertex/vertex/responsive/responsive_mobile_sidebar.php on line 8

Notice: Only variables should be assigned by reference in /var/www/clients/client4/web20/web/templates/shape5_vertex/vertex/responsive/responsive_mobile_menu.php on line 278

VirtueMart

WooCommerce

Others

Docs

Support

Demo

Blog

About

Forum
Welcome, Guest
Username: Password: Remember me

TOPIC: How to reset invoice numbers back to 0

How to reset invoice numbers back to 0 06 Jun 2016 18:14 #1

Hi,

I did a few test orders on my site using the invoice number format [#####:1/1] but would like everything reset back!

I went ahead and manually changed the invoice number of the first real order to 00001 in phpmyadmin (wp_options). However, I did a test order and the next invoice was generated as 00006. I also tried to add a new counter in the "All invoice number counters" section using the name #####, but after clicking save changes it dissappeared. I tried to add it in again but it gave me an error message about not being authorized to do so (see screenshot).

So, why can't I manually add new counters ( they show up initially but after clicking save they dissappear)? And, how to I reset this so that my next order invoice numbers shows up as 00002?

Thanks!
ScreenShot2016-06-06at5.40.36PM.png
The administrator has disabled public write access.

How to reset invoice numbers back to 0 09 Jun 2016 22:32 #2

Dear Nukerman,
Which version of the plugin do you have installed? We fixed some issues with modifications not working / disappearing a while ago.
Could you please upgrade to the latest version and check again?

Regarding the authorization error messages: There might be several causes of this issue.
  • Which version of PHP do you have installed? (Sometimes older versions like 5.3 cause problems server-side)
  • Do you get any php warnings/error messages in your webserver's log files?
  • Do you get any JavaScript warnings/errors in your webbrowser's console? (E.g. in Chrome that would be F12 -> "Console" tab)
  • What is the AJAX response of the server? To get this, again press F12 in your browser to have the developer console appear. In Chrome, you would then go to the "Network" tab of the dev console. Now, try to add a new counter => In the "Network" tab there should appear a call to admin-ajax.php. Click on it to see the contents of your server's response on the right side of the dev console. If everything worked out, the response should be something like
    {"action":"add_counter","success":true,"row":"\t<tr.....
  • Do you have multisite mode enabled on your WP installation?

Best regards,
Reinhold
The administrator has disabled public write access.

VM - Shopping cart

 x 

Cart empty

Login Formular