Login
Register

VirtueMart

WooCommerce

Others

Docs

Support

Blog

About

Advanced Ordernumbers for VirtueMart

IMPORTANT ANNOUNCEMENT: Plugin development ceased, all plugins made available freely (GPL)

With great sadness we have to announce that we are ceasing development of all our VirtueMart, WooCommerce and Joomla plugins. Effective immediately, all our plugins -- even those that were paid downloads -- are made available for free from our homepage (GPL license still applies), but we cannot and will not provide any support anymore.

It has been a great pleasure to be part of the thriving development communities of VirtueMart as well as WooCommerce. However, during the last year it became painstakingly clear that in addition to a full-time job, a young family and several other time-consuming hobbies at professional level (like being a professional singer) the plugin development and the support that it requires is not sustainable and is taking its toll. It has been an honor, but it is now time to say good bye!

×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Stop virtuemart from creating the invoices 17 Jul 2017 16:07 #1

  • jabba
  • jabba's Avatar Topic Author
Hello! This is my situation and don't know if you can help.. but i'll try anyway :)
I have the order status COMPLETE and i have created order status INVOICE.
I have set Virtuemart to create the invoice only for order status INVOICE (see the attachment, sorry for the italian, FATTURA means INVOICE)

everything is fine except that ordernumbers keep use a sequential number even if the order is not set to INVOICE. See the 2nd attachment for ordernumbers configuration. I'll explain better with an example

ORDER 1 --> INVOICE status --> invoice number --> 1
ORDER 2 --> COMPLETED status --> no invoice
ORDER 3 --> INVOICE status --> invoice number should be 2, but invoice number is 3

In Italy we need to have a sequential number for invoices. Is there a way to fix this?
Thank you!
Gianluca
Attachments:

Stop virtuemart from creating the invoices 01 Aug 2017 23:56 #2

Dear Gianluca,
Our plugin creates a new invoice number only when an invoice is created. In your case, with a "completed" status no invoice should be created and thus also no invoice number (and the counter should thus also not be increased).

Actually, when I set invoices to be created only for orders with "Shipped" status on one of our test systems (VM 3.2.2 with the latest version of our plugin), I get the expected behaviour that the counter is increased only for those orders that are set manually to shipped, but not for other orders that stay in "Confirmed" status. So, with our setup, unfortunately I cannot reproduce your issue, so I'm probably missing some vital part of information...

How do you set the INVOICE status for your orders?

Are you sure the INVOICE status never set for the ORDER 2?
You might e.g. look at the invoices directory on your server whether your orders with "COMPLETED" status still have an invoice generated, which would be wrong, but happens when INVOICE is a transitional state.

Alternative causes might be other third-party plugins dealing with order handling or invoicing. Do you have any other plugins installed that deal with these topics?

Best regards,
Reinhold
  • Page:
  • 1