News:

Support the VirtueMart project and become a member

Main Menu

Order number VS Order ID

Started by rosen4o, November 16, 2011, 18:39:00 PM

Previous topic - Next topic

rosen4o

Is it possible to use Order ID instead  Order number on order management???

Milbo

no. The order_id is an internal number which should never be used outside, there will exist plugins so that you can use your own order_number.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Bruce Morgan

Is there any work being done on the plug-ins you mention?  I need to retain the old order numbers plus have VM continue the numerical sequence OR create a new one that makes sense.

Bruce

Milbo

Hmmm I did parts of the plugin. Write me a pn, please
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

knutmw

How is it going whit the plugin? have VM 2.0.12e
And can't find the plugin anywere, but it is much needed.
Hope to hear that it can be downloaded from a place.


reinhold

#5
I have now created such a plugin, which allows the shop owner to change the order number, order password and invoice number at will:
http://open-tools.net/virtuemart-2-extensions/40-vm2-ordernumber.html

The format is given as a text string, where [...] is understood as a variable and replaced by its value (e.g. [year] by the current year).

The running counter is indicated by #. The counter can be configured to be global (e.g. not reset each year/month/..) or a separate counter for each year/month/...
If you only want the order number as a running count, the format is simply '#' (without the quotes). If you want to prefix the order/invoice numbers by the year or year+month then the format it simply '[year]-#' or '[year2][month]#'... If you want the invoice number to be the same as the order number (this might not fulfill some legal requirements about invoices having successive numbers!), you can simply use '[orderNumber]'.
There are many more possibilities in the plugin!

I hope you like the plugin and it does what you need.