This is the support forum for my VirtueMart 2 ordernumber plugin: http://open-tools.net/virtuemart-2-extensions/40-vm2-ordernumber.html
This is a Virtuemart 2 plugin that allows the shop owner to change the format of the order numbers, order passwords and invoice numbers. The running counter of the orders and invoices can be configured to use separate counters for different time periods.
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.
The solution is this plugin: It allows you to define the format of the order number, order password and invoice number in the plugin settings.
If you have questions about the plugin (that are not yet answered in the FAQ on the plugin's homepage) or encounter problems, you can either send my an email (email@example.com
) or post your questions here.