Author Topic: Order number increases by 2 instead of 1 for every new order - how to fix this?  (Read 2432 times)


  • Beginner
  • *
  • Posts: 2
  • A beginner
  • Skype Name: patrick.bjurquist
After migrating from 2.x to 3.x my order numbers increase by 2 instead of 1 for some reason.
Before my order number and invoice number was the same and my Order ID as well (kept them synced by not deleting orders).
But now after an order is created and I create an Delivery note or an Invoice - that Delivery note or Invoice gets the next 'order number'.
Order number: 8900
Invoice number: 8901
Order number: 8902
Invoice number: 8903

I'm using;
- Klarna Checkout plugin for payments (
- Advanced Ordernumbers for Virtuemart (

I've been up and down Google and Forums but haven't found any help so far. I'm a bit novice to this so apologize in advance if this is a really noob question.

Thank you in advance for your help!


System Information
Setting   Value
VirtueMart 3.0.18
PHP Built On   Linux 2.6.32-573.18.1.el6.x86_64 #1 SMP Tue Feb 9 22:46:17 UTC 2016 x86_64
Database Version   5.5.43-MariaDB
Database Collation   latin1_swedish_ci
Database Connection Collation   utf8mb4_general_ci
PHP Version   5.6.29
Web Server   Apache/2.2.22 (@RELEASE@)
WebServer to PHP Interface   apache2handler
Joomla! Version   Joomla! 3.6.0 Stable [ Noether ] 12-July-2016 21:14 GMT
Joomla! Platform Version   Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
User Agent   Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36


  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28314
  • Always on vacation
    • Jenkin Hill Internet
Looks like a problem with the Advanced Ordernumbers for VirtueMart plugin. Ask Reinhold on

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart  4.0.2 10661 on Joomla 3.10.9 PHP 7.4.29


  • Beginner
  • *
  • Posts: 2
  • A beginner
  • Skype Name: patrick.bjurquist
I've posted to him, thanks for the tip.

And if someone else has come across this - pls give me a shout :)