This is a very flexible Virtuemart 2 plugin that allows the shop owner to change the format of the order numbers, order passwords, customer numbers and invoice numbers. The format of the numbers is given in text-format and can depend on and use these supported variables:
By default, Virtuemart 2 creates order numbers like b6ee03, where the first four letters/digits are randomly generated and only the last digits are a running order number. Similarly, the order password will be like p_57ad1 and the invoice numbers will look like 12111323602, where the first six digits indicate the date, the next three digits are seemingly random (actually, they are the first few digits of the md5 hash created from the order number and order status), and only the final number(s) are a running count.In many countries, tax laws require invoices to be successively numbered, with an optional fixed prefix (different prefixes for different purposes are allowed), but a random part in the invoice number is a big NO-NO.
This plugin allows you to define the format of the order number, order password, customer number and invoice number in the plugin settings.
The format strings are simple texts like "EK-[year]/#", where the following case-insensitive variables will be replaced (for a comprehensive list with explanations, see the documentation):
For example, a format "[year][month]-#" (with 3 set as the minimum number of digits for the counter) will create numbers like:
Further examples can be found in the documentation.
This plugin is licenced unter the GNU GPLv3. However, you have to pay for the download (all updates are free to our customers). After that, you have all the right and duties that the GPL gives you.